Hello,
I am trying to disable error/notification pages (Message Pages - not sure what to refer to them as) when submitting a form, and return in a $_SESSION (or other method) the fields that had errors so I can highlight them in the front-end. An example of this is a missing email address when required, it would normally give a message like:
The following errors were encountered
The email you submitted is not valid
Return to Previous Page
I would like to omit landing in this page, and instead reloading the page where the form was submitted with the email field highlighted. I would need to retrieve this error data from somewhere in this process.
I am not sure if there are any other articles that talk about this, I looked around and found nothing.
Any help will be greatly appreciated.
Thanks in advance.
Sebastián Jaramillo T.