• Resolved Matt Steele

    (@mattsteele)


    I have a brand new theme that I just built out using _s’s (underscores) that won’t submit forms. Here are the errors I get in the console:

    On submit:
    Uncaught Typeerror: cannot read property: 'checkValidity' of undefined

    Followed by:
    Resource interpreted as Script but transferred with MIME type text/html: "about:blank”.

    Steps I’ve taken:

    1.Verify that WP is able to send emails by submitting ‘reset password’
    2. Installed a plugin that verify’s emails can be sent
    3.Narrowed it down to the theme itself because I am able to submit forms when twenty thirteen is installed
    4.The problem occurs in both Contact Form 7 and Gravity Forms, so isn’t either of them
    5. I uninstalled all plugins and I’m still not able to submit

    Anybody have an idea of what could be causing this in my theme?

Viewing 1 replies (of 1 total)
  • Thread Starter Matt Steele

    (@mattsteele)

    SOLVED:

    In case anybody run across this in the future, here’s what it was:

    I narrowed the issue down to the template itself by stripping out all of the markup on the page, which allowed the form to work as normal.

    I then narrowed it down to the <form> tag that was causing the conflict. Essentially, the GravityForm generated <form> tag and the one I had in my template were clashing. I should have seen the double <form> tags, but missed it.

    I’m all set now.

Viewing 1 replies (of 1 total)
  • The topic ‘Forms won't submit’ is closed to new replies.