I want to make a edit profile form for my website.
My idea is getting JSON object and after user updates the data, I will use Ajax to send the request to update the database.
Here is the question.
I want to use the Zend validator to validate the form.
How can I use it when I use ajax to submit data?