ProWebsite CMS Help

Forms

Using the Forms Widgets

The forms widgets are used to create forms with different types of elements allowing user input. Individual form elements need to be nested within forms and optionally within form sections. See the diagram below to get a better idea of how this works:

Form Elements Nesting Diagram

Form Elements Nesting


FORMS: Mailer Form

Use the mailer form to create forms that gather some user input (or information) and send it using email to a specified email address. This widget has an opening and closing tag. All of the form elements have to be enclosed between the 2 tags. A form section is included by default when using the mailer form widget.

Syntax

<w:forms/form-start-mailer name="REPLACE" send-to-name="REPLACE" send-to-email="REPLACE" email-subject="REPLACE" thank-you-page="REPLACE" />

<w:forms/submit-mailer caption="REPLACE" />

<w:forms/form-end />

Attributes

Additional Elements


FORMS: Section

Use this widget to split up a complex form into smaller, logical parts. The secion widgets will be enclosed within a form and include form elements such as textboxes and text areas.

Syntax

<w:forms/section-start label="REPLACE" notes="REPLACE" />
INSERT
<w:forms/section-end />

Attributes


FORMS: Textbox

Single line textbox that allows the input of simple text.

Syntax

<w:forms/textbox label="REPLACE" value="REPLACE" length="REPLACE" required="yes|no" notes="REPLACE" />

Attributes


FORMS: Textarea

Multi-line text area that allows the input of longer text.

Syntax

<w:forms/textarea label="REPLACE" value="REPLACE" columns-num="REPLACE" rows-num="REPLACE" required="yes|no" notes="REPLACE" />

Attributes


FORMS: Checkboxes

This widget enables you to insert a set of checkboxes presenting multiple options to the user. A user is then able to select one or more options by checking the appropriate checkboxes.

Syntax

<w:forms/checkboxes label="REPLACE" options="VALUE~CAPTION|VALUE~CAPTION..." notes="REPLACE" />

Attributes


The dropdown widget enables you to insert a dropdown (also knows as "combo box") that presents multiple options to the user of which only one can be selected at a time.

Syntax

<w:forms/dropdown label="REPLACE" options="VALUE~CAPTION|VALUE~CAPTION..." notes="REPLACE" />

Attributes


Utility Form Widgets

This utility widget automatically populates a dropdown with all states within the United States.

Syntax

<w:forms/dropdown-us-states label="REPLACE" />

Attributes