Question : codeigniter form_validation email
Answered by : sameh-shahin
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');
Source : https://codeigniter.com/userguide3/libraries/form_validation.html#prepping-data | Last Update : Tue, 01 Sep 20