I am using Symfony2 and Doctrine components. Validation works fine on the server side (restrictions on objects, etc.). I want to validate a form (my own custom construction without using the Symfony Form component) via AJAX.
Can I use the Validation component to validate fields using AJAX?
Or should I use the jQuery validation plugin? Which seems counterintuitive since then, two different checks will be used.
jquery ajax jquery-validate validation symfony
Juris vaiders
source share