• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
valid_url rule not working

#1
form validation rule "valid_url" not working as expected. here is my code
PHP Code:
$this->form_validation->set_rules('website''Website''required|valid_url'); 

this rule returning true for string "test" for following markup

PHP Code:
<input type="text" class="form-control" id="website" name="website" placeholder="Website Address" required/> 
The largest Bengali tutorial site on Web Development in this planet
Reply


Messages In This Thread
valid_url rule not working - by rejoan - 05-19-2015, 03:09 AM
RE: valid_url rule not working - by Avenirer - 05-19-2015, 03:30 AM
RE: valid_url rule not working - by rejoan - 05-19-2015, 03:33 AM
RE: valid_url rule not working - by mwhitney - 05-20-2015, 08:27 AM
RE: valid_url rule not working - by Avenirer - 05-19-2015, 03:41 AM
RE: valid_url rule not working - by rejoan - 05-20-2015, 11:41 PM
RE: valid_url rule not working - by mwhitney - 05-21-2015, 10:48 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.