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 not working correctly

  1. URL: yourinsurancerate.com/request-a-quote/home-insurance/

    After I enable the following conditional logic, the form disappears.

    http://i50.tinypic.com/20a6hsk.png

    The 2nd dropdown area is supposed to only appear if the previous entry is yes, if its no, it should hide it. Any idea?

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  2. This is because your theme is outputting all of your scripts into the footer. Our forms, when you use conditional logic (which is jQuery based) makes references to it above the footer, but since your theme is loading jQuery in the footer and all of our JS script files the references cannot be made. You will need to make sure they are output in the head.

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  3. Wonderful, let me check this out, thank you

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  4. Hi Rob,

    I've moved the scripts before </head> and its still not working. Any idea?
    I swapped to the default WP theme and the forms show up, what could it be about my theme?

    What files are needed to load to make logic work correctly or display the form?

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  5. I still see all of your site's scripts in the footer. The plugin automatically outputs the necessary scripts when needed and some of them are placed in the head and others are placed near the footer. I also still see you are running an old version of jQuery in your head. Did you make this theme yourself or do you have access to the theme developer?

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  6. Worked! Yes, we made the theme ourselves, well HTML ==> WP. I'll update jquery as well, Thanks Rob!

    Posted 12 years ago on Friday June 8, 2012 | Permalink
  7. Awesome, glad you got it working!

    Posted 12 years ago on Monday June 11, 2012 | Permalink

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