Adding Text to Forms
Sometimes you want to use longer texts inside a form.
There are different ways to do so.
Form option "Description"
Each form has an option "Description". (Tab "Basic"). You can use it to create text which can be formatted with HTML just like an article and which is displayed at the top of the form.
Field option "Custom Text"
Each field has an option "Custom Text". (Tab "Advanced"). This is quite a powerful option which allows you to include formatted text almost everywhere inside your form.
The custom text can be formatted with HTML and is displayed in a seperate HTML
div element with the class
visCustomText beneath the field it belongs to, except for the fields of type "button", "image" or "reset". For this field types the custom text is displayed above the field.
The field type field separator
Use fields of type field separater to insert formatted text, whereever you want.
The field type field separator is the field type of choice if you want to bring some structure into your form. This field type will not display the field title. A field separator field firstly displays an optional horizontal line, which can be turned off by the parameter "Border not visible". Then it displays the Custom Text. For this text can be formatted with HTML via editor, you can use it to create headings, paragraphs and formatted text, you can insert links or images and therefore design your form extremly flexible.
Custom texts are preprocessed by content plugins
Visforms triggers the onContentPrepare event on the customs texts, described in this article. Therefore,for example, e-mail addresses, in your texts are protected by the Joomla! plugin email cloaking.