Check URL field content in form

admin

Administrator
Staff member
I need a JavaScript that will check that on submit, the first seven characters of the URL field in my form <!-- m --><a class="postlink" href="http://www.usedflutes.com/addpage.html">http://www.usedflutes.com/addpage.html</a><!-- m --> equals the default value http:// or an alert will be prompted. Anybody have a script that can do this?

Many thanks in advance,

-Bob
 
Back
Top