You can use validation to force respondents to answer a question or request that they consider answering the question before leaving the page.These options can also be used to force a certain type of response (e.g., valid phone numbers only).NOTE: Comment Box question types cannot be validated.You can quickly validate the Multiple Textboxes question type to allow only numerical data (positive whole numbers), and to reveal the option to require a fixed sum. In this case, select Custom in the Field Validation dropdown list and paste the code above in the input box. ([0-9])$/, which is the international phone number format.
With custom validation, you can define your own validation code.
However, notice that we do not have to explicitly bind the error messages to the view in our GET route.
This is because Laravel will always check for errors in the session data, and automatically bind them to the view if they are available. The field under validation must be entirely alphabetic characters.
Choose Custom in the validation dropdown list and type your code in the box that shows up.
The code will have a format such as CCCCNNAAAAAANN.