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.

Experiencing conditional issues

  1. Hi,

    I'm in the process of developing a lengthy form. I came to a point where the conditional logic stopped working on one field. Every field up to this point has conditional logic working properly, but once i reached this point it in the form it behaves wrong.

    Symptoms...
    At this point in the form, if I turn conditional logic on or off, sometimes the block is shown sometimes it doesn't. When I change a field in the drop-down box at the top (about the number of locations), the result determines whether the field box is shown or not - even when conditional logic is off on the last field.

    Even when I try to add multiple blocks at this point, conditional logic fails for them all. It's just at this specific point in the form.

    I've activated the Twenty Ten theme and turned off all of my plugins without any better result.

    Please help.

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  2. Can you share a link to the form?

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  3. I'm having a similar issue. I'm creating a long form using conditional logic in many fields.
    The problem seems to be related particularly to the 2nd field from the top. Everything works the way it's supposed to only when the last section on the drop down is selected, but not when the others are.

    I've deleted and recreated the 1st & 2nd fields a few times, (and reset conditional logic in the dependent fields) but nothing changes.

    The form is at: http://awakenedmutuality.dreamhosters.com/tuition-support-payment-plan-application/

    Thanks,
    Ron

    Posted 13 years ago on Thursday February 17, 2011 | Permalink
  4. Hi Mutuality, you have a javascript error on the page that could be preventing the conditional functionality from working. If you are implementing the ShareThis button with a plugin, try deactivating the plugin. If you are manually using ShareThis, try commenting it out in the code.

    http://grab.by/90cj

    Posted 13 years ago on Thursday February 17, 2011 | Permalink
  5. Thanks for your reply.

    We disabled ShareThis but it had no effect on the form. I removed the 1st field, for making it easier to troubleshoot. The field that is at the top seems to be the culprit, only the last selection in the dropdown works correctly, so I assume the problem has something to do with the code for that fields?

    The form is at: http://awakenedmutuality.dreamhosters.com/tuition-support-payment-plan-application/

    any other suggestions?

    Posted 13 years ago on Friday February 18, 2011 | Permalink
  6. @mutuality The issue is probably in how you have set your conditional logic rules. In order to look into this issue we would have to look at your form settings and how you have your form setup. If you can send us a WordPress admin login for this site we can take a look and see what is going on. You can send this to us via our Contact Us form and reference this forum post.

    Posted 13 years ago on Friday February 18, 2011 | Permalink
  7. Hi Carl,
    We did give you a login as you suggested. Any chance that this will be looked at before the weekend is over?

    Thanks,
    Ron

    Posted 13 years ago on Sunday February 20, 2011 | Permalink
  8. @mutuality It will be looked at today (Monday).

    Posted 13 years ago on Monday February 21, 2011 | Permalink
  9. Has any one looked at it yet. I am not aware of any changes & I know yesterday was a holiday for some. Thanks

    Posted 13 years ago on Wednesday February 23, 2011 | Permalink
  10. The issue is your use of the Section Break field and applying conditional logic to it. Each of the fields you are using to display the tuition price is a Section Break field.

    Section Breaks are designed to appear above a section of fields, or a group of fields. Because of this, if you apply conditional logic to a Section Break it will automatically apply that conditional logic to ALL fields below that Section Break up to the next Section Break.

    This allows you to show/hide an entire group of fields using conditional logic by applying it to a Section Break.

    The problem with your form is your additional fields that appear below your group of Section Breaks showing tuition prices are now considered part of that last Section Break and it's conditional logic applies to that group of fields. BUT they don't show up because they have their own conditional logic applied to them that is hiding them.

    See this screenshot:

    http://grab.by/96Xf

    The field that says "The tuition for AMS is $1275" is a Section Break field. It has conditional logic applied to it and that conditional logic is then hiding all the fields that appear below it up to the next Section Break... which there isn't another Section Break after that one so it hides all the remaining fields.

    When that particular Section Break is visible, the other fields are not because they also have individual conditional logic applied to them that is hiding them.

    So the issue is how you are using Section Breaks and applying conditional logic to them. Section Breaks with conditional logic are used to group fields and easily show/hide them without applying it to each individual field.

    I would suggest using the HTML field for displaying the tuition information rather than the Section Break field. The Section Break field handles conditional logic in a unique way and if it isn't used properly it will cause issues like this.

    Posted 13 years ago on Wednesday February 23, 2011 | Permalink