Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 607 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 607 Bytes

MY_Form_validation

CodeIgniter form_validation addition which allows for setting form error prefix and suffix in config. Also allows getting form errors in an array rather than one long string.

Setup

  • Copy libraries/MY_Form_validation.php from to your application/libraries folder
  • Copy config/form_validation.php to your application/config folder, or if you have an existing config there just copy and paste the new stuff

Usage

  • Edit config/form_validation.php with your preferred prefix and suffix for each error.

Change Log

1.0.0

  • Initial Release