Questions

Questions can be added to either the Custom Form or to a section within the form. When you use sections, you can group similar questions together. For example, you can group the questions that are to do with the users contact information in a section called Contact Us. One major advantage of adding questions to a section is that you can Clone or Link a section in the Asset Map to another Custom Form. This allows you to reuse questions within your system. You cannot Clone or Link a question that has not been created in a section.

The question types that are available for a Custom Form are as follows:

  • Text
  • File Upload
  • Password 
  • Select
  • Tickbox Table
  • Date/Time
  • Tickbox List
  • Country
  • Email Address 
  • Option List
  • Numeric

For more information about each of these question types, refer to the question type chapters in this manual.

Adding a Question to the Custom Form

To add a question to the Custom Form (i.e. not within a section), right click on the Form Contents asset in the Asset Map and select Form Contents. In the Questions (not attached to a section) part of the screen, select the question type in the Add Questions field, select how many questions to add of this type (for example if you want to add two questions of type text to the form, select 2 from the list) and click Commit. The questions will be listed in the Current Questions section, as shown in the figure below.

The Current Questions list
The Current Questions list

A Question asset will also appear in the Asset Map for each question added, as shown in the figure to the right.

For each question listed, the following information is shown:

  • Question assets
    Question assets

    Question: this shows the name of the question. When you click on the question name, the Details screen will be displayed where you can modify the settings for that question. The content of the Details screen will vary depending on the type of question you have selected. For more information about the Details screen of each question type, refer to the question type chapters in this manual.
  • Type: this shows the question type that has been added.
  • Delete: this field allows you to delete a question from the form. To do this, click on the box and click Commit. Alternatively, if you want to delete all questions on the form, click the box at the top of the column and click Commit.
  • Move: this field allows you to re-order the questions for the form. Click on either the Up arrow icon up or Down arrow icon down arrow to move the question. Once you have re-ordered the questions, click Commit.

Tip: When you re-order the questions, remember to click Commit. If you do not click Commit, the system will not save the order of the questions.

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

Adding a Question to a Section

To add a question to a section, right click on the Section asset in the Asset Map and select Details. In the Questions section, select the question type in the Add Questions field, select how many questions to add of this type (for example if you want to add two questions of type text to the form, select 2 from the list) and click Commit. The questions will be listed in the Current Questions section, as shown in the figure below.

The Questions section of the Details screen with Questions
The Current Questions list

Questions assets in a Section
Questions assets

A Question asset will also appear in the Asset Map under the Section asset for each question added, as shown in the figure to the right. For each question listed, the following information is shown:
  • Question: this shows the name of the question. When you click on the question name, the Details screen will be displayed where you can modify the settings for that question. The content of the Details screen will vary depending on the type of question you have selected. For more information about the Details screen of each question type, refer to the question type chapters in this manual.
  • Type: this shows the question type that has been added.
  • Delete: this field allows you to delete a question from the form. To do this, click on the box and click Commit. Alternatively, if you want to delete all questions on the form, click the box at the top of the column and click Commit.
  • Move: this field allows you to re-order the questions for the form. Click on either the Up arrow icon up or Down arrow icon down arrow to move the question. Once you have re-ordered the questions, click Commit.

Tip: When you re-order the questions, remember to click Commit. If you do not click Commit, the system will not save the order of the questions.

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

Editing a Question

Once you have added a question, to edit its settings right click on the Question asset in the Asset Map and select Details. Here you can change various information for the question including its name and note field as well as add validation for the question. The fields that are available on the Details screen will depend on the type of question you are editing. For example, the Details screen for a text question type is different to a select question types. For more information about the Details screen of each question type, refer to the question type chapters in this manual.

Deleting a Question from the Custom Form

To delete a question that has not been added to a section, right click on the Form Contents asset in the Asset Map and select Form Contents. In the Questions (not attached to a section) part of the screen, select the Delete box for the question you want to delete and click Commit. The question will be deleted from the form and the asset moved to the Trash.

Deleting a Question from a Section

To delete a question that has been added to a section, right click on the Section asset in the Asset Map and select Details. In the Questions section, select the Delete box for the question you want to delete and click Commit. The question will be deleted from the section and the asset moved to the Trash.

Validating a Question

For each question on the form, you can add either simple or complex validation rules. Simple validation rules allow you to define whether or not the field is mandatory. For example, if you have a name question that the user must fill in, you can change the simple validation rules to say it is required.

Complex validation rules allow you to add additional rules to the question. For example, if you have a question where the user can upload a file, you may want to specify that they can only upload a file that ends in “doc” (in other words a MS Word Document). This validation can be achieved by adding a complex validation rule.

Adding Simple Validation Rules

To add a simple validation rule to a question, right click on the Question asset in the Asset Map and select Details. The Simple Validation Rules section will appear, as shown in the figure below.

The Simple Validation Rules section of the Details screen
The Simple Validation Rules section

By default, the Required Entry field is Optional meaning that the user does not have to fill out this field. To make a question mandatory, select Required in this field.

You can also enter a customised error message in the Custom Required Error field. This will appear on the screen if the question is required and the user has not entered a value for it when they try to submit the form. If you do not enter an error message, a default message will appear similar to Question ”Name” is a required field; it must be filled in.

Please note that simple validation rules can only be changed for a text, tickbox list, file upload, email address, numeric and option list question types. For a file upload and numeric question type, an additional field appears in the Simple Validation Rules section. For more information on these fields, refer to the File Upload Question Type and Numeric Question Type chapters in this manual.

Adding Complex Validation Rules

To add a complex validation rule to a question, right click on the Question asset in the Asset Map and select Details. The Complex Validation Rules section will appear, as shown in the figure below.

The Complex Validation Rules and Add New Rules sections of the Details screen
The Complex Validation Rules and Add New Rules sections

By default, no complex validation rules will appear for the question. To add a new rule, select the rule you want to add from the Add Rule field and click Commit. Additional fields will appear in the Complex Validation Rules section, as shown in the figure below.

The Complex Validation Rules section of the Details screen
The Complex Validation Rules section for the Text Contains rule

Set up the rule as required using the fields that are provided in this section. If a complex rule is added to a question, the submission that is being made by the user will not be accepted unless the data they have entered matches the rule. For example, if you have a question where the user can upload a file and you have added a complex validation rule that says that they can only upload a file that ends in “doc”, the user must upload a MS Word Document otherwise their submission will not be accepted.

The complex validation rules that are available will depend on the type of question you are editing. For more information about each of the rules and how to set them up, refer to the question type chapters in this manual.

PreviousNext