Data validation in the application
In the application, input requests are validated on server and user interface (UI).
Server-side validation validates the data that is entered in the user interface, and sent to the server as part of a request. The validation is done based on the validation rules and regular expressions that are registered for different inputs on the server. If the data entered by the user does not pass the validation rule, a descriptive error message is displayed indicating the reason for the validation failure. In the UI, similar validation is done, before the requests (inputs) are sent to the server, along with some additional UI validations like mandatory field checks, and so on.