Overview: The Dais platform allows you to add input validation to your product for text and number fields, ensuring that invalid characters can not be entered. To learn how to add input validation, follow the steps below:
1. Navigate to your product and the 'builder' tab.
2. Click on 'edit questions' and then the question you would like to add validation to. If you are creating a new question, the input validation can be added upon the question creation.
3. In the 'answer choice' section for a text or number/currency question, select the 'validate user input' checkbox.
4. For a text field, you can limit the type of characters that can be entered in the text field, as well as customize an error message to display to the user if the validation fails.5. For a number or currency type question, you can choose numbers that are greater than zero, or numbers that fall within a certain range. You can also customize an error message.
6. Once you have added all of your validations, remember to save your configuration and product!