Front-End Validation

Last updated on June 26, 2024.

Data needs to be validated prior to being submitted (client side before the form submission). This is because we don’t want users to have an experience where they wait for the data to be processed server side, only to be notified that some fields were missing, or data did not match criteria, etc.

To achieve this, javascript is commonly used as you can customize your data requirements and error handling (For example: error messages, UI changes like color / labels, etc.). Javascript snippets can be used via a plugin, or a self - made script function.

Insites components readily support common UI validation with regards to error handling. Components have different properties/attributes that developers can use, such as displaying error messages, enabling/disabling fields and buttons, label and color changes, etc.

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.