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 doesn't work automatically on page

  1. marmac
    Member

    Hi,
    I created my form and posted it on page. Form in preview works great, but on page no.

    On page form displays alright, but when I filled field, other fields don't change how they are preset in conditional logic. But when I clicked on next button, it appears in red rectangle, that they aren't filled.

    Please, could you help me? I'm not a programmer.
    Thanks, Karolina

    Posted 9 years ago on Monday November 21, 2011 | Permalink
  2. Hey Karolina, can you please post a link to your form so we can take a look?

    Posted 9 years ago on Monday November 21, 2011 | Permalink
  3. marmac
    Member

    Sure, our website is under construction. You can look on it here http://www.relock.cz
    Thanks, K.

    Posted 9 years ago on Tuesday November 22, 2011 | Permalink
  4. HI, I too created a form with conditional logic and it isn;t showing up at all on my page:

    http://pundarika.bluemandala.com/monestaries/gift-of-prayers/

    Posted 9 years ago on Saturday November 26, 2011 | Permalink
  5. Have you guys tested for plugin and/or theme conflicts yet?

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Also, how complex is your conditional logic - if you have required fields that are hidden by conditional logic that could be a cause as well.

    Posted 8 years ago on Friday December 2, 2011 | Permalink
  6. marmac
    Member

    Thank you Rob, you're right. I have Theme conflict.

    Can I somehow fix it on my pages? Our pages are nearly finished, so we don't want to change Theme and start from beginning.

    Posted 8 years ago on Friday December 9, 2011 | Permalink
  7. Marmac, looks like this is the JS file causing your issue, I downloaded a local copy of the page and started removing scripts and when this one was gone your JS errors vanished when using the form.

    <script type="text/javascript" src="http://relock.cz/wp-content/themes/jarrah/js/jquery.easing.min.js"></script>

    Posted 8 years ago on Friday December 9, 2011 | Permalink
  8. Dwenaus,

    Yours issue appears to be a plugin conflict. There is an error being thrown for fancybox. If I copy down the html and remove the line below the form will load.

    <script type='text/javascript' src='http://pundarika.bluemandala.com/wp-content/plugins/fancy-box/jquery.fancybox.js?ver=1.2.6'></script>

    Posted 8 years ago on Friday December 9, 2011 | Permalink
  9. Amazing, thank you!

    Posted 8 years ago on Tuesday December 13, 2011 | Permalink
  10. marmac
    Member

    Rob thank you for help.
    But form still doesn't work correctly. After your answer I commented out script in header.php :

    //<script type="text/javascript" src="<?php echo get_template_directory_uri() ?>/js/jquery.easing.min.js"></script>

    The same problem lasts. Can I do something else?
    Thanks, Carolina

    Posted 8 years ago on Wednesday December 14, 2011 | Permalink
  11. marmac, it's difficult to tell, without seeing your site, if commenting it out like that will work. That is PHP commenting style, but that script tag is not in a PHP block. It might actually work because it removes the http://relock.cz/wp-content/themes/whatever/ part, meaning the script would not be included anyway.

    It is important to see this page where the problem occurs so we can help you troubleshoot this.

    Posted 8 years ago on Thursday December 15, 2011 | Permalink
  12. marmac
    Member

    Chris, at the end we decided to change the theme and now form works good.

    But it appears next trouble. In entries it's don't display all field, which was filled. I think, that is the pricing fields, but I'm not sure. (The same problem was in the previous theme too)

    Here it is: http://relock.cz/objednat/objednat/
    Of course, if you need, you can the form fill.

    Thank you for help.

    Posted 8 years ago on Monday December 19, 2011 | Permalink
  13. marmac
    Member

    So I found reply here: http://www.gravityhelp.com/forums/topic/pricing-field-values-do-not-display-in-entries-or-notifications

    Now our form works great, thank you very much! :)

    Posted 8 years ago on Monday December 19, 2011 | Permalink

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