Tuesday 15 June 2010

Validate form ip formation in html forms -


I have a form that receives the IP address from the user and I want that ip with the IP address of the user Do not match like 192.168.0.100 (. ._._) will show this error. Can i do this

  & lt; Form name = "add" & gt; & Lt; Input name = "ip" type = "text" value = "" /> & Lt; Button name = "submit" type = "submit" value = "" & gt; & Lt; / Form & gt;  

The split string must be equal to the point and the first three parts and the other should be a positive number Should be less than 255

No comments:

Post a Comment