What are Validations?


Validations are contextual information on elements to verify end user's inputs on your application. For example, when you enter your credentials to log in to an application, the Validation feature checks if the input value is true and if it is false, it displays an error message alerting the user to comply with the set conditions. Validations ensure that you have complied to all the conditions specified for an input field as it is ideal that you recognize your mistakes early on and correct them.

Various types of Validations can be enforced in your application, like checking an empty field, length of the input field, input with standard and custom regular expressions, and adding other possible conditions like a JavaScript function.

Use Cases

  • Ensure that online forms are properly filled to fit your application's expectations.
  • Evaluate whether the end user has filled the required fields in a form correctly.
  • Check if number entries are made in a numeric field.
  • Check if the end user had put a valid 10-digit number in the phone number field.
  • Check if an email or web address is put in a valid format.
  • Check if the date format entered is correct.

The existence of a Validation on your application is indicated by an 'i' icon next to the input fields. The Email field in the online form below displays a validation whose requirements, when satisfied, permit the user to complete the process.

The validation of an input field is defined as either valid or invalid depending on the type of condition you use. A validation indicator indicates that the data you've provided is invalid. Similarly, when you enter valid data, a green checkmark appears. However, you can customize the validation icons for different scenarios using your Admin Portal.