Welcome Guest, Not a member yet? Register   Sign In
valid_url rule not working
#5

(05-19-2015, 03:33 AM)rejoan Wrote: any string treating as valid. "test","spinytel", "rejoan" all are tested. returning true & form submitting

...because those are valid URLs. Try using a character which is not permitted in a URL, or an invalid structure for the URL. I'm not sure how good the validation is, but I'm sure that your examples so far have all been valid URLs.

You're clearly looking for a validation which does something else, probably more explicit than simply determining whether it is a valid URL.
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



Theme © iAndrew 2016 - Forum software by © MyBB