$validationRules is there a documentation with all the references we can use? |
Hi, I always find myself browsing the web to find how to write validation rules. Is there a documentation somewhere I haven't yet found that might list all the available rules we can use depending on the database expected data format? Or can I find it within the code? (and maybe suggest/write a little addition in the documentation that could be useful for beginners and people like me?)
Thanks (I found this from some versions ago that is a beginning https://www.codeigniter.com/userguide2/l...ereference but I think there is more to it and there might be some changes)
Thank you for pointing at the right place. I was looking for it on the Using Codeigniter's Model page and could not find it.
Can I suggest to add a link to it on the https://codeigniter.com/user_guide/model...tion-rules page? Maybe in the section that titles "Setting validation rules"? There is a short paragraphe, then an example, then maybe adding a link like this "You can find the list of all the available rules here: https://codeigniter.com/user_guide/libra...able-rules " would make sense and be helpful to beginners like me?
I sent a PR to improve the docs.
https://github.com/codeigniter4/CodeIgniter4/pull/9097 (08-03-2024, 11:15 PM)kenjis Wrote: Done. Nice thank you again |
Welcome Guest, Not a member yet? Register Sign In |