This field displays HTML. In most cases the guidance text field is better suited than this one.
Note that in read-only rendering mode (emails, PDFs etc) a table is used to lay out field labels and their values. The guidance text field type is aware of this, so outputs the necessary table elements. The HTML field type, however, will only ever output exactly what it's told.
Basic field value substitution (using # characters) can also be enabled.
Properties
Label | Description | Type Name |
---|---|---|
Summary | A short description of what the field does, displayed in the forms designer to help identify it | SUMMARY |
HTML | The HTML to be output. Don't use this field type to inject additional layout HTML, blank lines or extra spacing into your form. The layout and styling should always be left to your site's style sheet | HTML |
Output | Determines when the HTML should be output. By default, the HTML will only be included when the form is displayed on the site. 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 | OUTPUT |
Expand Fields | Whether to support field name substitution. If set to true the values of any field names between # characters will be inserted before the HTML is rendered | EXPANDFIELDS |
Default Function | A 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 example | DEFFUNC |
Handlers | A JavaScript function that is executed browser-side whenever the page loads or the field value changes. See Common Field Properties for an example | HANDLERS |
Additional Styling Modifier | An optional CSS modifier for the field. See Common Field Properties for an example | ADDITIONALSTYLINGMODIFIER |
Documentation | Add 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 example | DOCUMENTATION |
Last modified on 21 October 2024