Time Question

TimeQuestion

A Time Question has the following properties:

Fields...

In some properties you can use fields as (part of the) value. You can use the button Fields... to insert fields into the property value.

Question text

This is the question as it is shown to the end user when the form is filled out. You can use HTML instructions to lay out this text.

Read-only (not available in QForms)

Check this box to make the question read-only. When the form is filled out the default answer is shown and the end user cannot change this value.

Answer field

Answers to questions are stored in an answer field. This field can be used in the model document. Select the answer field into which the answer to this particular question will be stored. The time value will be in a 24-hour HHMM format, e.g. 1315 representing a quarter past one in the afternoon.

Help text

Help text can be added to a question to provide additional information to the user. By default, a question mark will be shown next to the question. If the user who fills out the form hovers over this question mark the help text is shown. Use HTML instructions to lay out the help text.

Default answer

The end user will see the default answer in the answer field, if a default answer has been defined.

The following options are available:

Validation

TimeQuestion_Validation

Form

When the Validation is checked as "None" the answer to the question is not checked.

When "A non-empty answer is required" is checked the answer to the question needs to be filled in by the user, who is filling out the form. Otherwise, an error will occur. You can define the text of this error in the field Error message text. You can add the value from a Field to the Error message text and you can lay out the text with HTML instructions.

It is also possible to validate that the time specified in the answer is after and/or before a specific time.

QForm

For QForms the option "A non-empty answer is required" is checked by default to ensure the user fills in an answer. Otherwise, an error will occur for which the message can be specified in the "Error message text". You can add the value from a Field to the Error message text and you can lay out the text with HTML instructions.

In addition, it is also possible to validate that the time specified in the answer is after and/or before a specific time. If it is not desired to validate if the end user has filled in an answer, the option None can be selected.

Note

Advanced

This feature is for advanced users only. Do not enter or change IDs on this tab if you do not understand the implications.

Every question in a Form is associated with a unique identifier (ID). If Question IDs are not present in a Form, they are automatically generated when a Form is saved. You can change such an ID manually on this tab. For more information, refer to the ITP/Server Manual chapter Integrating, section Form and Question IDs.

Note

The feature Reference is not available for QForms. Refer to Distinctions between Forms and QForms for more information.