PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

ZIp Code Field - Use Type=tel???

  1. I am building a mobile site. I enabled the HTML5 output in setting to get the phone filed to bring up the dial pad on iphone and the email field also brings up the correct keyboard with the @ symbol on it to make it easier for the end user.

    Is there a way to make the zip code field use the type= tel like the phone number field so it will also bring up the number dial pad?

    http://m.campbellairsecurity.com/contact/
    Also is there a way to have the city and state populated by the zip code entry?

    Thanks Scott

    Ps.... if anyone has a fix for my time fields would be much appreciated the : is out of align and the am pm gets cut off when viewing on phone. managed to manipulate alot of this form but those two things giving trouble

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  2. You can fix the time fields by adding this to your theme's stylesheet:

    [css]
     .gform_wrapper #input_3_16_1, body .gform_wrapper #input_3_12_1{
        display: inline-block;
    }

    Also, I noticed when looking at the stylesheets, this error in black.php:

    [html]
    <br />
    <b>Warning</b>:  ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in <b>/home/scott74/public_html/wp-content/themes/jumpmobi_inspire_theme/black.php</b> on line <b>2</b><br />
    Posted 12 years ago on Monday October 1, 2012 | Permalink
  3. Still looking into the HTML 5 field type of "tel". There is no built in way to affect that, but we might be able to work around it.

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  4. Thanks Chris for the fix.... I did not even think about it but that would be nice for the time fields also as they use numbers :)

    I also forgot to mention for some reason my calendar icon does not show next to calendar. Not sure what that is all about.

    http://m.campbellairsecurity.com/contact/

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  5. Responded via priority support.

    Posted 12 years ago on Monday October 1, 2012 | Permalink

This topic has been resolved and has been closed to new replies.