Custom form sections

Form sections allow you to group similar form fields for a custom form. For example, if you have a group of form fields for the users' contact details, you can group them under a section called Contact details.

One significant advantage of using sections is that you can clone or link a section in the asset tree to another custom form. This feature allows you to reuse form fields within your system. You cannot clone or link a question created outside a section.

Adding a section

To add a section to the custom form:

  1. Right-click on the Form contents asset in the asset tree.

  2. Select Form contents.

  3. In the Sections part of the screen, enter the section’s name in the Add sections field.

  4. Select Save.

The section displays in the current section list:

The current sections list

A section asset will also appear in the asset tree, as shown in the figure. You can add as many sections as you want to the form.

The section assets

Each added section displays in the Current sections area. Click the section name to load the Details screen and add form fields to that section. For more information about the Details screen, refer to the Editing a section part of this chapter.

Once you have added a section to the custom form, you can configure its settings on its associated asset screens.

Details screen

The Details screen allows you to add form fields and sections to the section and customize the form fields' widths in the section. Read the Asset details screen documentation for more information about the Status, Future status, and Thumbnail sections.

Details

By default, the name entered when you created the section displays in this section. The details section of the Details screen:

The details section of the Details screen

You can change the section’s name by clicking into the name field and entering the section’s new name.

Form fields

This section allows you to add form fields to a section. The form fields section of the Details screen is shown:

The Form fields section

To add a form field:

  1. Select the question type in the Add form fields field.

  2. Nominate how many fields to add of this type (for example, if you want to add two text type fields, select 2).

  3. Select Save.

The form fields will be listed in the current form fields section, as shown:

The Current form fields list
Form fields assets in a section

A form field asset also appears in the asset tree under the section asset for each question added.

Each form field displays the following information:

Question

This shows the name of the question. When you click on the question name, the Details screen will be displayed to modify that question’s settings. The content of the Details screen will depend on the type of question you have selected. For more information about each question type’s Details screen, refer to the form field type chapters in this manual.

Type

This shows the question type added.

Delete

This field allows you to delete a question from the form.

To do this:

  1. Click on the Delete box.

  2. Select Save.

Alternatively, to delete all form fields on the form:

  1. Click the box at the top of the column.

  2. Click Save.

Move

This field allows you to re-order the form fields for the form.

To re-order the fields:

  1. Click on either the Up arrow icon up or Down arrow icon down arrow to move the field.

  2. Select Save when you have finished ordering the fields as required.

You can add additional form fields to the form by using the Add form fields field.

Nested sections

This section lists the sections added to the current section and allows you to add new sections.

The nested sections section of the Details screen is shown in the figure:

The nested sections section
A nested section asset

To add a section:

  1. Enter the section’s name in the Add sections section.

  2. Select Save to display the section in the current section list.

A section asset will also appear in the asset tree. You can add as many sections as needed to the form.

Each added section displays in the Current sections area. Click the section name to load the Details screen and add form fields to that section.

Section widths

This section allows you to customize the widths for the form fields added to this section. The section widths section of the Details screen:

The section widths section
Customize format

If enabled, a new custom format bodycopy asset will be created in the asset tree, allowing you to customize the format and layout of this form section.

customise format bodycopy

When you disable this option, the system deletes the customized bodycopy and substitutes it with a default format.

Section width

Enter the width for the section when displayed on the custom form. Select Pixels from the list provided to specify an absolute value for the width. Select Percent to specify the width as a percentage of the window’s width.

Question width

Enter the width of the column used for the title of the form fields. Select Pixels from the list provided to specify an absolute value for the width. Select Percent to specify the width as a percentage of the window.

Answer width

Enter the column’s width used for the answer fields. Select Pixels from the list provided to specify an absolute value for the width. Select Percent to specify the width as a percentage of the window.

Step actions screen

The step actions screen allows you to create custom actions run on a step or page (that is, section) of a multi-page custom form. These actions include sending a message to a remote SOAP server on completion of a form step. The Existing actions, Add new action and Select action sections are available as described below:

The Step action screen

Adding a Make SOAP call action

To add a new step action to send a message to a remote SOAP server:

  1. Check the Create a new action of type option in the Add new action section.

  2. Select the Make SOAP call.

  3. Select Save.

The Make SOAP call action supports both SOAP 1.1 and SOAP 1.2 standards. This step action does not currently support WS-Security features and MIME multi-part attachments.

The action will be added to the existing actions section, as shown:

The *Make SOAP call* step action

Additional fields will also appear in the selected action section, as shown:

The *Make SOAP call* step action in the selected action section

The Make SOAP call step action works similarly to the custom form’s Make SOAP call submission action. Read the Custom form contents documentation for more information on how to configure these settings.

Deleting a section

To delete a section from the custom form, either move the section asset to the Trash or click on it in the asset tree and press the Delete key. This action will delete the section as well as any form fields added to that section.