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.

Conditional Logic no working

  1. I have followed instructions, but when someone chooses male it shows the female fields. I can't get this to work and I have spent hours on it.

    Thanks, Jason

    Posted 7 years ago on Saturday July 21, 2012 | Permalink
  2. Please provide a link to the site where the form is causing this trouble and we'll take a look. With conditional logic, it's usually a JavaScript or jQuery error. Those can come from theme or plugin conflicts. You can begin testing for conflicts by following these instructions http://rkt.gs/testing

    Thank you.

    Posted 7 years ago on Sunday July 22, 2012 | Permalink
  3. http://dev.perfectfitmodels.com/become a fit model

    The logic is set so that when you select male one set of cells populate and when you click female another set pop up....but that is not happening.

    I will try your instructions. If you have any more insight please let me know.

    Thanks, Jason

    Posted 7 years ago on Sunday July 22, 2012 | Permalink
  4. Is this the correct URL?
    http://dev.perfectfitmodels.com/become-a-perfect-fit-model/

    Posted 7 years ago on Monday July 23, 2012 | Permalink
  5. Can you explain exactly what should happen when you select female, and what should happen when you select male? Can you post screenshots? I did not see any JavaScript errors there, but I am wondering how you have this configured and what a visitor is supposed to see. Thank you

    Posted 7 years ago on Monday July 23, 2012 | Permalink
  6. Similar problem here possibly - If a conditional logic field is activated on a multi-part form, then the form does not display, the wrapper element's style is "display:none;" - the only way to get the form to display is to remove any conditional logic fields.

    I tried many variations on the conditional logic field (show / hide - any/all) to see if I could get it to work - no luck. Thanks for any assistance.

    Posted 7 years ago on Tuesday July 24, 2012 | Permalink
  7. David Peralty
    Administrator

    rebootllc - Can you link to your form? It is usually a JQuery issue.

    Posted 7 years ago on Tuesday July 24, 2012 | Permalink
  8. I have the conditional logic fields turned off... http://marketcarolina.com/web-design-rfp/

    Thanks for the quick reply!

    Posted 7 years ago on Tuesday July 24, 2012 | Permalink
  9. David Peralty
    Administrator

    I get the following errors when I inspect your page using Google Chrome

    Failed to load resource: the server responded with a status of 404 (Not Found) http://marketcarolina.com/ad-manager/images/style/output.css
    Viewport argument value "1.0;" for key "initial-scale" was truncated to its numeric prefix. /web-design-rfp/:157
    Viewport argument value "1.0;" for key "maximum-scale" was truncated to its numeric prefix. /web-design-rfp/:157
    Uncaught TypeError: Cannot read property 'top' of null sharebar.js:27

    You might want to try the following to find the source:
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 7 years ago on Tuesday July 24, 2012 | Permalink
  10. Thanks for your help. It's a conflict with Sharebar plugin. Appreciate the help!

    Posted 7 years ago on Tuesday July 24, 2012 | Permalink
  11. I have the same problem, http://www.medestate.ca/index.php just under the first paragraph the form is supposed to show up. It shows when the conditional logic is off.

    I tried it on another theme and it works so it might be coming from my theme. I just can't seem to find how to correct it.

    Please help!! Thanks!

    Posted 7 years ago on Sunday August 12, 2012 | Permalink
  12. tcs
    Member

    @lamarke Have you checked your theme (stylo?) to see what version of jquery it is loading. I think that version is too old for gravity forms conditional logic.

    Posted 7 years ago on Sunday August 12, 2012 | Permalink
  13. FIXED:
    I just opened the header.php file and added :

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>

    Everything works fine now. Thank you tcs!

    Posted 7 years ago on Sunday August 12, 2012 | Permalink
  14. @lamarke, you have temporarily fixed the problem but there should be no need to do it this way. If you want additional assistance on fixing this error in a more permanent way, please let us know.

    Posted 7 years ago on Monday August 13, 2012 | Permalink