How to implement form validation in CI Framework
This article is about how the CI framework implements form validation. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The details are as follows:
1. Automatic output function of form header information (view)
2. Set verification rules (controller)
3. Error prompt corresponding to the rule (controller)
4. Run check error message (controller)