Please Note: We are no longer using forums to facilitate standard support. 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.

complex conditional statements seem to be breaking

  1. i've been battling with a somewhat complex registration form, and this thing is making me feel like an idiot... until i realized that something must be broken.

    i've got a test page displaying the form here: http://milwaukeesynod.org/test-page/

    i have several options that switch out with a conditional statement, working just fine. but the problem i'm seeing is when i add two lines of conditions to an element.

    for instance.
    working: show IF "age" IS "youth"
    not working: show (when ALL are true) IF "age" IS "youth" AND IF "rooming options" IS "I'm staying overnight"

    i did a search, and can't seem to find any mention of this issue. am i just not understanding how the conditions work or did i find a bug?

    Posted 3 years ago on Thursday March 8, 2012 | Permalink
  2. ok. i think i might have figured out the bug. looks like conditional logic breaks if one of the "conditions" fields has html in the field labels.

    Posted 3 years ago on Thursday March 8, 2012 | Permalink
  3. jpfour23
    Member

    This is true and is still a problem with the latest version. The form breaks if HTML is used in say a radio button where conditional logic is used.

    Posted 3 years ago on Friday April 6, 2012 | Permalink
  4. What kind of HTML is being used? Are you using single quotes or double quotes, etc.

    Posted 3 years ago on Friday April 6, 2012 | Permalink
  5. jpfour23
    Member

    I have 3 radio button options. I've tried double quotes & no quotes. Neither work. Example of my HTML is below. Eash dash represents a new radio button.

    - Photo Wrap <img src=/img/blah.jpg />
    - Fabric <img src=/img/blah2.jpg />

    After this I have a drop down menu that shows if "Photo Wrap" is selected. Another drop down menu if "Fabric" is selected. Neither work.

    Thanks!
    Josh

    Posted 3 years ago on Friday April 6, 2012 | Permalink
  6. jpfour23
    Member

    Ah ha! I found the culprit. I was fooling around with it... if you remove the /> and just end it with > then it works! I don't know if this is a bug or related to my doctype... but it works.

    Fixed Version:
    - Photo Wrap <img src=/img/blah.jpg>
    - Fabric <img src=/img/blah2.jpg>

    Posted 3 years ago on Friday April 6, 2012 | Permalink
  7. Gotcha, can you export your form and email the XML file to me and reference this post. rob@rocketgenius.com

    Posted 3 years ago on Friday April 6, 2012 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only