Using the form validator with AJAX |
(01-25-2021, 09:15 PM)iampuping Wrote: I am submitting a form to my controller with AJAX, not via the action/method of the form itself. How do I use the validator with this method, since the data is coming in as a post request? In your controller do something like this: PHP Code: $validationRules = array( |
Messages In This Thread |
Using the form validator with AJAX - by iampuping - 01-25-2021, 09:15 PM
RE: Using the form validator with AJAX - by Kohryu - 01-25-2021, 11:57 PM
RE: Using the form validator with AJAX - by harpreetsb - 02-02-2021, 02:00 AM
|