Welcome Guest, Not a member yet? Register   Sign In
Beginner gets some problem
#2

[eluser]mi6crazyheart[/eluser]
Why u want to force user for a specif type(min. 4 char) of email-id. Bcz, email-id is it self a unique address.
Any way, if u want to restrict user for 4 character email id then i think this validation rule will help u...

Code:
$this->form_validation->set_rules('username', 'Username', 'required|min_length[4]');

For more info: http://ellislab.com/codeigniter/user-gui...ation.html


Messages In This Thread
Beginner gets some problem - by El Forum - 10-09-2010, 02:45 PM
Beginner gets some problem - by El Forum - 10-09-2010, 10:56 PM
Beginner gets some problem - by El Forum - 10-10-2010, 05:09 AM
Beginner gets some problem - by El Forum - 10-10-2010, 07:12 AM
Beginner gets some problem - by El Forum - 10-10-2010, 09:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB