When you use a input
type of url
instead of the standard text
. Firefox 4 will not submit the form without http://
or https://
in the input box.
All I'm after is a URL without the protocol such as www.google.com
not http://www.google.com
. Is there a parameter to do this or any other way (preferably without JavaScript)?
use the html5 novalidate attribute on the form, e.g.
<form method="post" novalidate>
...
</form>
this will give you the nice keyboard on mobile devices and let you do your own validation
https://www.w3.org/TR/html5/sec-forms.html#element-attrdef-form-novalidate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With