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.

Field Not showing with Conditional Logic

  1. I'm trying to setup conditional logic in a field that's using 4 radio buttons. One of those 4 needs a conditional field. I'm pretty sure I have the Advanced settings correct. The field shows in Form in backend of WP, but it doesn't appear on the actual web page. What am I missing? I'm happy to setup a user account to send to an email address if you give me one. David

    Posted 12 years ago on Monday September 24, 2012 | Permalink
  2. What I hope to see happen when one of the buttons is clicked that another "single text line" appears to the user can fill in the answer to that button... I don't see how to do that.

    Posted 12 years ago on Monday September 24, 2012 | Permalink
  3. here's the page... http://dev.magenextensions.com/ccc/sunday-school-fellowship-registration/ there is supposed to be field called "Membership Information" below the "Father's Cell" field. Also, where are those ">" coming from beside each field name? They don't show up in the "preview" when I'm working on the form, only when it's published live.

    Posted 12 years ago on Monday September 24, 2012 | Permalink
  4. The ">" issue is coming from line 28 in http://dev.magenextensions.com/ccc/wp-content/themes/theme1526/style.css :

    [css]
      background: url(images/marker.gif) 0 7px no-repeat;

    To get rid of that background image, please add this to your theme's stylesheet or wherever the theme provider specifies adding custom CSS rules:

    [css]
    body .gform_wrapper form ul li {
        background-image:none!important;
    }
    Posted 12 years ago on Monday September 24, 2012 | Permalink
  5. Please clarify this:

    When one of the buttons is clicked

    Which buttons are you talking about? Can you describe the text by the button or post a screenshot of which button you're referring to?

    Posted 12 years ago on Monday September 24, 2012 | Permalink
  6. Chris, thanks so much for the CSS instruction! The "field" in question doesn't show on the live page, only in the admin for the gravity form. Can I get an email address from you and I'll setup an admin account for you so you can see what I've done.

    Posted 12 years ago on Monday September 24, 2012 | Permalink
  7. Please email chris@rocketgenius.com - thanks

    Posted 12 years ago on Tuesday September 25, 2012 | Permalink
  8. Chris,
    It would be great if you post the solution to this issue that aspenleaf had as I am having exactly the same issue and I know I've set it up correctly because it used to work. So either something went wrong when I updated to the latest version of GF or there is some other issue that was introduced recently. Your solution for aspenleaf would be helpful to know.

    My form: http://www.pickupsforbreastcancer.org/schedule-pick-up/boca-deerfield/

    If you choose Gated Community? Yes, another set of fields is supposed to open up to allow the user to put in instructions for how to enter the gated community.

    There is also a field called: How Did you Hear about us? If the user chooses, other, a field should open up to allow them to type in the "other" method.

    Neither work. I get an error in firebug console:

    TypeError: window.gf_form_conditional_logic is undefined

    yet I have made no changes to this code.

    thanks,
    Lisa

    Posted 12 years ago on Wednesday September 26, 2012 | Permalink
  9. Lisa, I just made Chris a user in my WP project so he can look at what I'm doing. I'll let you know what the remedy was for me as soon as he gets back to me. David

    Posted 12 years ago on Saturday September 29, 2012 | Permalink
  10. Lisa, you are including jQuery in the page twice, once from Google API, and the Gravity Forms version is being added to the footer, not the header where we need it. Get rid of the one from googleapis and make sure the Gravity Forms jQuery is included in the head, not footer of the page, and I think this will work, unless you have any other jQuery errors. Please let us know when you have accomplished those two things and we will look again.

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  11. @David, I logged in to your site. Conditional logic does not work as you have it configured. You can't make a field appear based conditionally on the value of the entry for that same field. When the form is rendered, it goes through the conditional logic rules and sets the default state. The default is hidden, then the fields become revealed when there is input which matches your condition. That can't happen in your case because you made this field conditional upon the value entered for this field. It is never going to happen.

    Please explain what you were trying to do, what makes the display of this field conditional, and we will try to help you configure the form.

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  12. Under Membership Information there are 4 choices... should be radio buttons. If they chose the 3rd one there needs to be a text box where they can type in an answer. Maybe I should make this one the last option and put a text box beneath it? I guess I don't understand the point or use for conditional logic either... oh well, another lesson.

    Posted 12 years ago on Monday October 1, 2012 | Permalink
  13. David Peralty

    David - You are correct. You should make it the last choice and then have an input field set using conditional logic to appear if they select that fourth choice.

    Posted 12 years ago on Monday October 1, 2012 | Permalink