If I am using cakephp/validation and selective/validation. I am confused on what happens with the json response. I redirect to the page and then use js to put data back into the inputs?
In a typical web application, the form data is sent to the server via Ajax and validated before processing.
In case of a validation error (422) the server also returns further error details which can then be rendered in the GUI.
Ok. Great. I understand.