Defining text questions
To define text questions
- Open the Questions & Mappings dialog box for an SRD. See Adding-questions-to-an-SRD.
- On the Questions tab, click Add Question.
In the Question Text field, enter a question for users. You can enter up to 254 characters.
If you want to enter the greater than (>) or less than (<) sign in the Question Text field, use encoded text (> for >, and <for <); otherwise, browsers will interpret the greater than and less than signs as HTML markup, which is not supported. For more information, see Restrictions-in-creating-questions.- In the Question Format field, select Text.
- (Optional) In the Instructions field, enter instructions on responding to the question.
- In the Number of Text Rows field, specify how many lines are used in your question.
If you enter 1, the Text field appears in the Request Entry form as a single-line input field. If you enter 2, the Text field is two rows in height, and so on. - In the Limit Input Length To field, specify the amount of characters that a user can enter.
This field is important for fulfillment application mapping if the fields are limited in input length. By default, for a single-line question, users can enter as many as 128 characters. - (Optional) In the Specify Regular Expressions field, enter a regular expression to validate the user's response.
Regular expressions enable you to ensure that users enter information, such as email addresses, in the correct format. If the user enters a response that does not match the pattern specified by the regular expression, the system displays an error message. For examples of regular expressions, see Adding-questions-to-an-SRD. - Click Save.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*