Composing forms

After you create a new form, you can compose it on the form's Form builder tab. The Form builder tab offers an intuitive graphical interface intended for content creators and marketers.

To open the Form builder tab:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.

The Form builder interface is divided into two parts:

  • The designer window, located in the middle, used to add, reorder, or remove individual form fields and set the form's layout.
  • The properties panel, located on the right, enabling further configuration and customization of each selected form field.

Adding new fields

To add new form fields to an existing form:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click on the Add Field () button.
    Adding a form field to a form
  5. Click on the field you wish to add from the list of available form components.

You have added the selected field to the form.

Moving and reordering fields

To change the order of existing fields or move them between different zones in the form layout:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click and drag the field by the drag handle () or the header that appears when you select or hover your mouse over a field.
    Moving a field by the drag handle

You have changed the position of the field within the form.

Removing fields

To remove a field from a form:

Removing fields from forms with existing records

Removing a field from forms with existing records also deletes all data gathered using that field.

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click on the field you wish to remove.
  5. Click on the delete () icon in the upper right.
    Removing a form field
  6. Confirm the removal on the popup dialog.

You have removed the field from the form.

Configuring field properties

When you add new form fields or select existing ones, the panel on the right side of the form builder interface is replaced with the selected field's properties panel. The properties panel allows you to configure the field's label, tooltip, default value, and other properties.

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click on the field whose properties you wish to configure.
  5. Specify the field's properties in the panel on the right
    Configuring a form field's properties
  6. Click Apply to save any changes of the field properties.

You have configured the selected form field.

Tip: You can configure fields to behave as "smart fields", which means they are only displayed on repeated views of a form, as a replacement for other fields that were already filled in by the given visitor. For more information, see Using smart fields in forms.

Editing the form layout

The overall layout of a form is composed of elements called sections. Each section contains one or more zones, to which you can add fields.

The system provides a Default section which organizes fields in a basic single-column layout. Your developers may prepare additional types of sections that allow you to create more advanced form layouts.

To edit the layout of a form:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Add or adjust sections using the gray UI elements:
    • Add section – click a gray plus button located on the left to insert a new section. The list of available section types depends on the implementation of your website.
    • Move section – hover over a section and drag it by the drag handle among the section buttons on the right.
    • Change section type – you can change the type of a section to adjust the layout of the form. Hover over the section you want to modify, click the Change section type button, and select the section type you want to use.
    • Delete section – hover over the section you want to remove and click the delete button on the right. This also removes all form fields in the section.

    Managing form sections

Changes made to sections are saved automatically. After you create the required form layout through sections, you can move fields between the resulting zones.

Adding field validation

Validation rules allow you to define constraints on user input for individual fields. Each field can contain multiple validation rules.

To add a field validation rule:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click on the field whose validation rules you wish to configure.
  5. In the properties panel on the right, switch to the Validation tab.
  6. Click Add validation rule.
  7. Select a rule from the drop-down list.
  8. Configure the rule according to your requirements and specify its Error message.
    Defining a validation rule for a form field.
  9. Click Apply.

You have added the validation rule for the selected form field.

Adding field visibility conditions

Field visibility conditions allow you to specify rules based on which certain form fields can be hidden or displayed to users. By default, you can specify field comparison validation rules that set the visibility of fields based on values provided elsewhere in the form. 

Your developers can extend this functionality with other arbitrary conditions by utilizing contextual information provided by the system. For example, based on whether the user is in a certain persona, belongs to a specific contact group, is subscribed to an email feed, and so on.

Each form field can only have one visibility condition specified. Moreover, certain visibility conditions are only available if fields of a matching type precede the field that you are configuring (i.e., are placed "above" the field in the form builder).

To configure a field's visibility:

  1. Open the Forms application.
  2. Edit () a form.
  3. Switch to the Form builder tab.
  4. Click on the field whose visibility condition you wish to configure.
  5. On the properties panel, switch to the Visibility tab. 
  6. Select from the available options:
    • Always – the field is always visible. This is the default state for all fields.
    • Never – the field is always hidden. Useful if you need to remove a field from the form but want to keep its associated data stored in the system.
    • Condition – the field is displayed based on a set condition.
      Configuring a field's visibility condition
  7. Click Apply to save your changes.

You have added the visibility condition to the selected field.


Was this page helpful?