Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

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?



  • edited 7:35PM
    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.