Hi. How can I add text above fields in the form? For example - instructional text about how to fill some of the fields?

(I'm still new on the CSS side, so might be missing something basic)

Thanks.

Shay.

Comments

quicksketch’s picture

The easiest way is to make a "Markup" component and just type some HTML in it, then place it wherever you like within the form.

balaftuna’s picture

Great idea quicksketch. so simple, yet effective.
Thanks :)

balaftuna’s picture

Status: Active » Closed (fixed)
balaftuna’s picture

Status: Closed (fixed) » Active

Tried to implement this with a textarea, but since the label is mandatory it's not working very nice.

Is there another way that will let me put additional text in different places in the form?
Ideally I'd be able to define the character of this text via the theme's CSS.

Thanks.

Shay.

quicksketch’s picture

Is there another way that will let me put additional text in different places in the form?

There is no other way that do not involve PHP coding. Read the THEMING.txt file that comes with Webform to learn about how you can add custom theming to your forms.

balaftuna’s picture

Status: Active » Closed (fixed)

Thanks!

drvdt’s picture

If using Markup module, we can only see that text line on "node/edit" page, not able with view node (node/x).
Do you know how to do?
Many thanks!