Validation of text and numeric inputs
Use input validation to give custom error messages in case of wrong input.
Input validation
You can put custom error messages according to the Test-taker's input. Input validation makes use of Regular expressions(Regex) to create the error messages. So some knowledge of Regular expressions is required to use this function.
You can use Input validation with the following input types:
- Text field
- Text area
- Numerical
Input validation functions
There are 2 input validation functions:
- Should match: The input Should match the Regular expression.
- Should not match: The input Should not match the Regular expression.
Examples
\s
\s : Detects the usage of spaces.

[^0-9]
[^0-9] : Looks for digits in the input.


[1-9]
[1-9] : Looks for one-digit natural numbers in the input.


- Side effects
- Dimensions
- Scoring and point system
- Fill in the blank questions
- Content groups
- Matching and sorting questions
- Creating a rubric
- Importing input questions
- Take a picture questions
- Interview questions
- Speaking questions
- Coding questions
- File upload questions
- Fill-in-a-table question
- Writing question
- Auto-evaluation by function
- Auto-evaluation rules
- Numerical entry question
- Text entry questions
- Input questions
- Alignment of choices
- Dropdown list
- Importing in bulk
- Quick paste tool
- Scoring
- Multiple choice questions
- Extra features
- Adding hint
- Adding feedback
- Adding a sidebar
- Attaching a file
- Adding video clip
- Adding audio clip
- Adding image
- Formatting the question text
- Composing a test question
- Creating test questions