What is the right way to validated a url?
 
In my validator.xml file, I have the following entry:
 
<field property="insWeb" depends ="url" >

<var>

<var-name>allowallschemes</var-name>

<var-value>true</var-value>

</var>

<var>

<var-name>allow2slashes </var-name>

<var-value>true</var-value>

</var>

</field>

 

If I enter a url i.e. http://www.apple.com, the validator complains that it is 
an invalid url.

What else should I be doing??

 

 

Reply via email to