Ajax and ci4 validation |
(05-16-2022, 06:28 PM)iRedds Wrote: Can you explain more precisely. For example, I do not understand what you are talking about. Normally, I place my validation in the Model (sometimes place in controller) something like this; PHP Code: $category = $this->model->find($category_id); My rules are somethin like; PHP Code: protected $validationRules = [ How would like use the above in case of using ajax. Is is possible? |
Messages In This Thread |
Ajax and ci4 validation - by spreaderman - 05-16-2022, 05:58 PM
RE: Ajax and ci4 validation - by iRedds - 05-16-2022, 06:28 PM
RE: Ajax and ci4 validation - by spreaderman - 05-16-2022, 10:05 PM
RE: Ajax and ci4 validation - by manager - 05-16-2022, 11:28 PM
RE: Ajax and ci4 validation - by manager - 05-16-2022, 11:09 PM
RE: Ajax and ci4 validation - by iRedds - 05-16-2022, 11:24 PM
RE: Ajax and ci4 validation - by spreaderman - 05-17-2022, 02:54 AM
|