Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 6, 2018 9:00 AM
Views: 15
  1. $this->form_validation->set_rules('username', 'Username', 'trim|required|min_length[5]|max_length[12]');
  2. $this->form_validation->set_rules('password', 'Password', 'trim|required|min_length[8]');
  3. $this->form_validation->set_rules('passconf', 'Password Confirmation', 'trim|required|matches[password]');
  4. $this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');