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.

Masked input not working

  1. I have added custom masks on some inputs, but it don't seem to work? It works when previewing the form, but not on the live site..

    Posted 7 years ago on Wednesday February 13, 2013 | Permalink
  2. That usually means you have a JS conflict of some kind on the front end. You'll want to run through a theme/plugin conflict test:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 7 years ago on Wednesday February 13, 2013 | Permalink
  3. Ok, tested with TwentyTwelve, and it seems it was a theme-conflict. But I get no errors in the console, so I'm kinda confused here.. Could you check the url? http://tinyurl.com/maskerror

    Posted 7 years ago on Wednesday February 13, 2013 | Permalink
  4. Which form on that page or what page on that site holds a form, and then what field is the input mask not working for?

    I think the issue occurs because you are including jQuery in the page twice. The second time is in the footer, and is an older version (1.7.2):

    <script src="http://213.162.246.175/~alsos/wp-content/themes/flexwp-alsos/js/jquery.js"></script>

    That is being added by the theme, which is why the input mask works when you change themes. Remove that call to jQuery and ensure your theme still works and if there are no jQuery errors on the page, the input mask will work.

    Posted 7 years ago on Wednesday February 13, 2013 | Permalink