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.

Pressing Submit Twice

  1. Alex
    Member

    For some reason I have a site that I have to press submit twice in order for the form to send. This doesn't happen in Chrome but does in FF and IE. Here is an example form I've set up that emails me:
    http://www.alexander.co.uk/test-contact-form/

    is this due to gravity forms or something else? if it's something else does anyone have a clue?

    Posted 12 years ago on Thursday November 1, 2012 | Permalink
  2. David Peralty

    It might be due to some JS issues your site has:

    Uncaught ReferenceError: twitterWidgets is not defined /test-contact-form/:52
    Uncaught ReferenceError: _ga is not defined /test-contact-form/:119
    FB.getLoginStatus() called before calling FB.init(). connect.facebook.net/en_GB/all.js:52
    Unsafe JavaScript attempt to access frame with URL http://www.alexander.co.uk/test-contact-form/ from frame with URL http://platform.linkedin.com/js/xdrpc.html?v=0.0.2000-RC1.22200-1403#xdm_e=http%3A%2F%2Fwww.alexander.co.uk&xdm_c=li_gen_1351787720099_0&xdm_p=1&target=li_gen_1351787720099_0&width=600&height=400&mode=wrapper. Domains, protocols and ports must match.
    xdrpc.html:1300
    [cycle] terminating; zero elements found by selector plugins.js:65
    Failed to load resource: the server responded with a status of 403 (Forbidden) http://www.linkedin.com/cws/followcompany?companyIdentifier=2461434&counterPosition=none&original_referer=http%3A%2F%2Fwww.alexander.co.uk%2Ftest-contact-form%2F&token=&isFramed=false&lang=en_US&_ts=1351787720398.409

    It could also be a plugin/theme conflict:
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Can you look at testing and resolving these and let me know if that fixes it?

    Posted 12 years ago on Thursday November 1, 2012 | Permalink
  3. Alex
    Member

    i've knuckled down the conflicting JS file:
    http://www.alexander.co.uk/wp-content/themes/alexander/js/plugins.js?ver=3.4.2

    I just have no clue what part is conflicting.

    Posted 12 years ago on Thursday November 1, 2012 | Permalink
  4. I don't think we would have any idea which part is conflicting either without testing. This is something you will need to debug on your own. Take a look at the errors which are showing, one by one, and use the debugging tools which are built in to Chrome or Firebug.

    Posted 12 years ago on Wednesday November 7, 2012 | Permalink