Question settings in the Question Designer
The service questionnaire in BMC Digital Workplace Catalog supports several different types of questions. This topic describes the settings in the Question Designer for configuring each question.
For each question in a questionnaire you must configure the question settings described in the following table:
|Form element type||Required|
Select a question type that you want to create.
The label value is displayed as a process question name to end users.
This field is automatically populated with the process question label value. You can change it as required.
The description that you enter is displayed below the question name.
Turn the toggle on to enable the question description, and enter the question description.
Turn the toggle on to make the question required for end users.
Turn the toggle on to make the question read only.
You cannot set a read only question to required or hidden.
Turn the toggle on to hide the question from being displayed to end users.
You might need to hide a question with a default value to prevent an end user from completing the question with other than the default value. A hidden question with default value is not displayed to the end user, so the end user cannot change the default value.
You cannot set a required question to hidden unless it has a valid default answer.
To add a default value for the question, turn the toggle on, and select the default value type in the Type list.
For details about how to build a question with a default response, see Creating questions with default responses.
Regular expressions are used to validate the responses that the end users provide to questions when they request services in BMC Digital Workplace . If a user enters a response that does not match a pattern from the specified regular expression template, the system displays an error message.
You can specify the regular expressions for the following types of questions:
To assign a regular expression to a question, in question settings, turn the Regular Expression toggle on, and then select the required regular expression from available templates.
This action defines a certain format or certain characters that must be used in a question response. For example, if you select the Email address template, the end user response is validated by the system and accepted only if this response contains an @ symbol.
The end users are not able to submit their service request until they enter valid responses to the questions with regular expressions.