7

Using type="url" instead of type="text" would make life a lot easier when logging in via iPhones and Android Phones (mobile Safari, in general).

Other browsers ignore it and pretend it's type="text", so no harm done.

See http://diveintohtml5.org/forms.html#type-url for examples.

2 Answers 2

2

ok, I added type="url" to the <input> field on the login page.

edit: Backing this change out. Causing lots of spurious bug reports from new-ish browsers that enforce URLs rigidly to "must start with http://" rather than using it as an input aid.

2
  • 1
    From the source: "There is no markup required to activate HTML5 form validation; it is on by default. To turn it off, use the novalidate attribute." Can we have it back now?
    – user140178
    Jul 16, 2011 at 23:54
  • @soumya nice! that will definitely help! Jul 17, 2011 at 3:20
0

OpenID identifier can be not only URL, look at XRI. Currently, it's impossible to enter such IDs in Google Chrome 5.0. It's exotic, yes...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .