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.

Turn off autocapitalize

  1. Is there a way to use autocapitalize="off"? I am adding an email field and I don't want the first letter to be automatically capitalized from mobile devices such as iPads.
    Thanks

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  2. You can add the attribute using some jQuery added to your page template.

    [js]
    jQuery.noConflict();
      jQuery(document).ready(function($) {
         $("input[type=email], input[type=text]").attr("autocapitalize", "off");
      });

    http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    I think if you actually use the HTML5 "email" type field the autocapitalize is turned off by default. I have not confirmed this yet though.

    Posted 13 years ago on Monday August 1, 2011 | Permalink