iOS / Mobile Safari Form tags

edited August 2012 in Feature Requests
I've been looking at enhancing my site for iPhone/iPad /etc and noticed that there is a feature to change the keyboard available on forms depending on the input type.

The following are available:

type="tel" / for the numerical keyboard to make entering a phone number easier
type="email" / also this field type should automatically add : autocorrect="off" autocapitalize="off"
type="url" for entering web addresses
If you want just a numerical keyboard you can do the following:
type="text" pattern="[0-9]"

What would be the best way to add these to the Form_builder.php library, and do you think they'd be good ideas for the next release?

Thanks.

Comments

  • edited 7:40AM
    I'll look into adding those parameters. The 1.0 branch on GitHub does give you the ability to create your own field types (email is actually built into the 1.0 beta of Form_builder) or modify existing ones to add additional parameters like you suggest.
Sign In or Register to comment.