If the validation rules pass, your code will keep executing normally; however, if validation fails, an exception will be thrown and the proper error response will automatically be sent back to the user.In the case of a traditional HTTP request, a redirect response will be generated, while a JSON response will be sent for AJAX requests. Again, if the validation fails, the proper response will automatically be generated.
Definition of validating
examines whether the educational and scientific activity conducted in the higher education institution, and the professional and infrastructural level of the educational programmes, and the personal and organisational conditions of the institution comply with The process of approving a new programme, or allowing an existing programme to continue, is described as validation.
It is a check that predefined, minimum standards will be (new programme), or are (existing programme) reached.
(Vlãsceanu Validation: a process by which an awarding institution judges a module or programme developed and delivered by another institution or organisation and approves it as of an appropriate standard and quality to contribute, or lead, to one of its awards.
Students normally have a direct contractual relationship with the partner institution.
For example, consider an "update profile" screen that includes the user's name, e-mail address, and location.
Of course, you will want to verify that the e-mail address is unique.
If the validation passes, our controller will continue executing normally.
Sometimes you may wish to stop running validation rules on an attribute after the first validation failure.
Students normally have a direct contractual relationship with the provider delivering the course, not the institution that validated it.