Validating text input
To validate is to ensure the data you've requested of the user matches what they've submitted.There are several core methods you can use for input validation; usage obviously depends on the type of fields you'd like to validate. Say we have an input area in our form like this: Just like that, we've told the browser to only allow up to five characters of input, but there's no limitation on what characters they can input. If we're saving to the database, there's no way we want to give the user unrestricted write access. When processing the form, we'll write code to check each field for its proper data type.The check step uses one or more computational rules (see section below) to determine if the data is valid.
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.
This site and all of its contents are referring to Angular JS (version 1.x), if you are looking for the latest Angular, please visit