Add backend AJAX API endpoint for client-side form validation.
In particular, implement a validation API for registration, where a client makes AJAX calls to the endpoints requesting validation decisions on each input. Responses are strings dependent on the type of validation error; if no error, then empty string to indicate OK.
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment