Where in the page lifecycle does validation occur?
It is always good to know the sequence of actions that happens at the client and server when a page with validation-enabled components is submitted. In this section, we will explore the validation cycle for a typical fusion web page.
Client-side validation
The client-side validation is triggered when the user finishes editing the data on the UI. During the client-side validation cycle, the client-side peer component for the UI control performs basic data sanity checks which include basic data type checks as well as executing client-side validation rules such as mandatory field, maximum length, and max-min value check. If any error is found during this cycle, it will be immediately reported back to the user.
Server-side validation
The server-side validation is triggered when a page is posted back to server, after the successful completion of client-side validation. When the request reaches the server, the framework intercepts the request and...