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 check boxes unticking

  1. AdamF
    Member

    Hey there,
    I am creating a website that sells personalised sweet jars, I am using conditional logic to show specific categories of sweets depending on what the radio button the customer selects. I have not yet finished the form but you should be able to see where I'm coming from by browsing my page: http://www.sweetiebliss.com/small-sweet-jar-order-form/ (There are still loads of sweets to add :(!!!)
    As you can see the customer is allowed to choose 6 sweets (another question will follow with regards to limiting check boxes) and can select specific sweets from a categories or decide to view all the sweets, if the customer clicks Boiled and selects 3 sweets from there and then selects Bon Bons and selects 2 from there, the first 3 boiled sweets gets unchecked. Is there a way to prevent this from happening?

    Many thanks in advance,

    Adam

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  2. You are running into a "feature" we implemented to allow nested conditional logic to work (ie. country/state/city drop downs where state is dependent on the country selection and city is dependent on the state selected). Part of the solution to this nested conditional logic problem was to reset the selections when they are hidden. So every field that is hidden will have its value reset (input fields will get emptied out and checkboxes will get unchecked). This is currently not a behavior that can be changed.

    That is from the developers and was related to this topic:
    http://www.gravityhelp.com/forums/topic/use-conditional-hidden-fields

    Does that explain the situation you are seeing?

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  3. AdamF
    Member

    That explains everything yes, would I be cheeky by asking does anyone have any suggestions to a solution? I would really like to display the images of sweets so a drop down list isn't really my first choice

    Posted 11 years ago on Monday October 8, 2012 | Permalink
  4. I don't believe there is an easy way to modify the behaviour of the plugin. You might have to get creative an work around the limitation some how.

    Posted 11 years ago on Monday October 8, 2012 | Permalink