Toggle menu

Guidance Text

The guidance text field adds text to your form. HTML markup can be used, and basic field value substitution (using # characters) is also supported. Updating the value of a guidance text field in the handler function of another field lets you completely change the text that is displayed.

Don't use this field type to inject additional layout HTML, blank lines or extra spacing. The layout and styling should always be left to your site's style sheet.

Properties

LabelDescriptionType Name
TextThe guidance text to be displayed. This is the field's value. By default, plain text is assumed. If you want to include HTML markup set the Allow HTML setting below to true.

The value of another field can be used by adding the field's name between # characters. The referenced field should have a value at the time the guidance text field is rendered
TEXT
LabelA label for the guidance textLABEL
JustificationThe justification of the guidance text. Either left, right, centred or fully justifiedJUSTIFICATION
ShowDetermines when the guidance text should be output. The following options are available:

Always - the HTML will be displayed on your site and in read-only modes
Form - the HTML will only be output when the form is being rendered on the site (in "standard" mode)
Summary (Email) - the HTML will only be output when the form is rendered in read only mode, without controls, for example in emails
SHOW
Allow HTMLWhether HTML markup should be allowed. By default the guidance text is treated as plain textALLOWHTML
Default FunctionA JavaScript function you can use to calculate the starting field value. This function is executed server-side when the field HTML is generated. See Common Field Properties for an exampleDEFFUNC
HandlersA JavaScript function that is executed browser-side whenever the page loads or the field value changes. See Common Field Properties for an exampleHANDLERS
Additional Styling ModifierAn optional CSS modifier for the field. See Common Field Properties for an exampleADDITIONALSTYLINGMODIFIER
DocumentationAdd documentation to your field to help explain any complex functionality to future users. You might include information on what the field does and how it relates to other fields on the form. Notes added here are only ever visible in the Forms Designer, they can be searched for, viewed and downloaded from the action panel. See Common Field Properties for an exampleDOCUMENTATION
Last modified on 21 October 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon