Sublabels in Pro Form

Hi Daniele,
at the moment I only have a Label field available on a From element.
But sometimes I need to explain what is meant by this form-element or wnat to give some additional info, so it would be very helpful to have an extra Text-field under the Label where I can put these info in to.
Thanks
Marco

Hi Marco,

Thanks for the suggestion. Right now Pro Forms doesn’t have a dedicated “sublabel” (a description line rendered under a field’s label) — the label renders directly above the input with no description slot in between.

The reason for that is intentional: Pro Forms is built the flexible, nestable way. The form and every field inside it are nestable elements, so you compose the form from real elements rather than from a fixed set of per-field options. Because you can drop any element (including text) anywhere between your fields, there was never the need for a static, built-in description field baked into each field — you get the same result with more freedom over wording, markup and styling.

So in practice:

  1. Place a separate Text / Rich Text element between the fields where you want the helper text. Since the form is nestable, you can mix in other elements freely and get full control over the content and look.
  2. Or put light HTML directly in the field’s Label (e.g. a <small> with your sublabel text) if you just need a short hint attached to the label itself.

Let me know if either approach does the job for your case.

Best,
Daniele

Hi Daniele
Thanks for getting back to me, and for pointing out that HTML can be entered in the label field. I wasn’t aware of that, so that’s good to know.

That said, it doesn’t fully solve the problem for me. Typing HTML tags and CSS classes into a single-line label input isn’t very comfortable, and it makes it hard to style a sublabel cleanly and independently from the main label text.

What I’d really like is a dedicated “Sublabel” field per element, one that I can style separately from the label. The other option, leaving the label empty and adding separate text elements for each field, works in principle but feels like overkill for something this small.

Would you consider adding a sublabel field as a feature? It would make styling form labels much more convenient.

Thanks again for your work on Bricksforge.
Marco

Hi Marco,

That’s fair feedback, and I understand the point — squeezing markup into a single-line label field isn’t comfortable, and you can’t style a sublabel independently that way.

You’re right about the two current paths and their trade-offs: HTML inside the label gives you a quick hint but no clean separation, and a dedicated Text/Rich Text element per field gives you full styling control but feels heavy when all you want is one short helper line.

I’ll pass the dedicated, separately-styleable sublabel idea on to our side so it can be weighed properly — I can’t make a promise on it here, but the use case is noted and understood.

If it helps in the meantime: when you do go the separate-element route, a single Text element placed right under the label, given its own class once, can be reused/copied across fields so you only style it once rather than per field. Not as tidy as a built-in option, but it keeps the styling centralized.

Thanks again for the thoughtful write-up, Marco.

Best,
Daniele