set_rules($field[, $label = ''[, $rules = '']])
| Parameters: |
|
|---|---|
| Returns: |
CI_Form_validation instance (method chaining) |
| Return type: |
CI_Form_validation |
Permits you to set validation rules, as described in the tutorial sections above:
- Setting Validation Rules
- Saving Sets of Validation Rules to a Config File
Please login to continue.