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.

None of my forms work...

  1. Ever since updating our theme, we have had a problem submitting both of these forms:

    http://info.fabrics.net/about-us/contact-us/
    http://info.fabrics.net/ask-a-fabric-question/

    Neither of them work. The contact us should be saving the info into the Gravity Forms db and emailing us, but it doesn't. The fabric question form should be creating a post in the uncategorized category, but it doesn't.

    I don't know what to try, but I have already tried recreating the fabric question form to no avail.

    I have green checkmarks for all my software versions:

    Installation Status
    PHP Version 5.3.3
    MySQL Version 5.0.95
    WordPress Version 3.4
    Gravity Forms Version 1.6.4.5.4

    Anyone have an idea of where to begin?
    Sam

    Posted 8 years ago on Saturday June 23, 2012 | Permalink
  2. elizabethanne
    Member

    i'm not part of the gravity forms team, in fact, was on here asking a question myself. but just a thought - does your theme call jquery? if so, check the version, it might be incompatible with gravity forms?

    Posted 8 years ago on Sunday June 24, 2012 | Permalink
  3. Follow the instructions here on checking for a theme/plugin conflict:
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 8 years ago on Sunday June 24, 2012 | Permalink
  4. Thanks Elizabeth and Rob, that helped a lot. It turns out that this Contact Us form does work OK with the default twenty ten theme.

    I set this form:
    http://info.fabrics.net/about-us/contact-us/

    To redirect to this page after submit, but it does not redirect here:
    http://info.fabrics.net/about-us/contact-us-thank-you/

    This form also does not email us the contact us info as it should.

    Now that we know it's something in the theme, what is my next step?

    Thanks,
    Sam

    Posted 8 years ago on Monday June 25, 2012 | Permalink
  5. Sam, are the results you posted (not redirecting and not emailing notification) happening with twenty ten or with the theme we know has a conflict?

    Have you tried contacting the theme provider?
    http://www.brandlabs.us/

    I see this error after the form is submitted (but not the first time):

    Timestamp: 6/24/2012 10:12:45 PM
    Error: result is null
    Source File: http://info.fabrics.net/about-us/contact-us/#gf_6
    Line: 81

    That line 81 looks like this:

    [js]
    			if(result[0] == url){
    Posted 8 years ago on Monday June 25, 2012 | Permalink
  6. Hi Everyone,

    Today I got the response below from brandlabs.us, the company who developed our Wordpress template. They explain why the forms won't submit and what my options are.

    Does anyone know of a better way to do this?

    -----Reply from Brandlabs.us-----

    My developers took a closer look at the Contact Us form submission issues. Here are the findings:

    The contact us form itself doesn’t use the full URL to post the submission to, so the contact-us form never submits to info.fabrics.net, it instead submits to http://www.fabrics.net. This is because our template utilizes a base tag in order to serve image and script files from http://www.fabrics.net.

    The form posts URL is: ”/about-us/contact-us/#gf_6”
    but should be: “http://info.fabrics.net/about-us/contact-us/#gf_6”;

    Our options are to:

    1. Hack a fix, that will be overwritten next time they update their Gravity Forms plugin.
    2. Over-write the form script to include the fully qualified URL for the form, which will be overwritten next time they update their Gravity Forms plugin.
    3. Report the bug to Gravity forms with a fix suggestion and await an update with the fix included.

    Please advise us noting how you would like to proceed.
    -----End Reply from Brandlabs-----

    Posted 8 years ago on Monday July 9, 2012 | Permalink
  7. Pinging this post. Can a GF admin help with this issue?

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  8. Sam, take a look at this filter:
    http://www.gravityhelp.com/documentation/page/Gform_form_tag

    It will allow you to change the form tag to suit your needs, which means you can place the full URL in the action=

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  9. Thanks Rob! I am not a php programmer, but I am very familiar with WP and I can insert this code into my functions.php if I know what code to use.

    Can you help me with formatting this filter code to force all Gravity forms to use the full url when submitting?

    Would it be something like this?

    [php]
    <?php
    add_filter("gform_form_tag", "form_tag", 10, 2);
    function form_tag($form_tag, $form){
        $form_tag = preg_replace("|action='(.*?)'|", "action='http://info.fabrics.net/'", $form_tag);
        return $form_tag;
    }
    ?>
    Posted 8 years ago on Monday July 16, 2012 | Permalink
  10. Try this out and see if it solves for it:

    add_filter("gform_form_tag", "form_tag", 10, 2);
    function form_tag($form_tag, $form){
        $form_tag = preg_replace("|action='|", "action='http://info.fabrics.net", $form_tag);
        return $form_tag;
    }
    Posted 8 years ago on Monday July 16, 2012 | Permalink
  11. kevinghogan@hotmail.com
    Member

    Not able to view forms. I have not changed my theme. I only updated. Now I can't view forms that were once there: https://www.profilerconsulting.com/make-an-appointment/

    It's driving my crazy.

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  12. Looks like your theme is loading a very old version of jQuery: Screenshot

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  13. Rob, in your code it looks to me like some of the single quotes are not closed. Can you double-check the syntax before I give it a test?

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  14. Looks good to me, tested it here on my dev site if you want to view the source: http://dev.outerhavenstudios.com/checkbox-default/

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  15. AWESOME Rob! That new filter works like a dream. Both of my forms submit no problem now.

    Thanks again!
    Sam

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  16. Right on, glad to help out!

    Posted 8 years ago on Monday July 16, 2012 | Permalink

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