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.

Using conditional logic to show or hide depending on whats showing or hiding....

  1. I have a conditional logic form that id like to make a little cleaner. What id love to do is hide the first 5 fields if certain html or other fields are showing. Currently i don't see any way of doing this "if html field 1 is showing to user then hide Deposit field" I thought i was clever and tried things like inserting hidden fields with unique id's behind conditional logic section breaks. Still doesn't work because the form still sees those hidden fields value before the conditions are met, if that makes any sense. You can play with the form here...

    http://financedhomes.ca/?gf_page=preview&id=61

    thanks for the help guys

    Posted 11 years ago on Sunday March 10, 2013 | Permalink
  2. It is a draft that we cannot see unless logged in. You need to publish the page.

    Posted 11 years ago on Sunday March 10, 2013 | Permalink
  3. David Peralty

    As alsc said, you'll need to publish it live before we can see it and troubleshoot it.

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  4. sorry about that guys, you can also view this form here... http://financedhomes.ca/become-pre-qualified/

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  5. David Peralty

    So you should be able to do something like "Hide this field if If Deposit is 10,000 or greater" on each of the forms fields you want gone.

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  6. There is wayyyyy too many variables to make it as easy as that. Deposit is not the only thing that accounts for a potential client being pre-approved, other variables include area, type of property he or she is interested in and income. It's just not possible that way. The only way I see it being done is if I can hide those fields if certain html fields show to the user. There are 6 different "congratulations" html feild scenarios with around 20 conditional logic statements for each.

    Posted 11 years ago on Wednesday March 13, 2013 | Permalink
  7. David Peralty

    Built in conditional logic doesn't work like that. You can only use values or user selections as conditions. So if you wanted to hide it in some other way, you would have to create your own Javascript to do so. No matter what though, it sounds like you'll have to take into consideration more than a few things to hide previous fields.

    Posted 11 years ago on Wednesday March 13, 2013 | Permalink
  8. Hmm...would there be a way to do this with page breaks? Each page break having each different scenarios message to the user? I once gave this a quick look but didn't see how it was possible as each page break follows the last. So if the scenario doesn't fit the first page break it doesn't work. In other words id need a page break setup with 7-10 different page break scenarios but only 2 actual page breaks ever being shown to the user

    Posted 11 years ago on Wednesday March 13, 2013 | Permalink
  9. You can use conditional logic on your page breaks. Click the advanced tab and check the box "Enable Page Conditional Logic". Then configure your conditions to make the page show.

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  10. This might be my answer, i think last time i used button conditional logic on my page breaks which made all my page breaks show. Thanks for the help! Ill test this out later

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  11. Please let us know how it turns out.

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  12. Ok well i tried the page conditional logic and that works great, only problem is that the button shows which i do not want until they are deemed a good applicant. So I tried to run both page conditional and button conditional at the same time with the exact same conditions but it simply does not work. No buttons ever show up.

    I don't want to show poor applicants a button that says "congratulations" if they are not worth our time.

    Posted 11 years ago on Sunday March 17, 2013 | Permalink
  13. It seems as though when button and page conditional logic are both checked then the button only shows up when conditions are met on the first page break. All other page breaks that follow do not show there buttons when conditions are met...no idea why this is but thats what is happening.

    Posted 11 years ago on Sunday March 17, 2013 | Permalink
  14. Can you export that form please and email the XML file to me at chris@rocketgenius.com - I would like to take a look at the configuration. Please reference this topic in your email.

    Posted 11 years ago on Sunday March 17, 2013 | Permalink
  15. sorry, did not see this reply till now, will send right now

    Posted 11 years ago on Tuesday March 19, 2013 | Permalink