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 on Choices

  1. geod
    Member

    Good day - I can't seem to find something that answers this correctly. Apologies if it has been.

    I am setting up a form and have ran into an issue (no sample as it is not built yet). What I intend to do is create a series of Drop Downs. The user starts off with five. When they make a choice from one of the drop downs that would cause other drop downs to hide and others to show. Eventually they would eliminate all but one which would lead to an action.

    It is very similar to a part configurator or builder.

    So for example if they had 3 drop downs originally - Shirts | Pants | Socks and they selected the Shirt Choice of Polo then Pants | Socks would go away and Color | Texture | Size would appear. If they select Texture then Color | Size would hide and Texture Specific Color | Texture Specific Size would appear and so on until finally they came to the one Product.

    The only way I can think of doing this is by using conditional logic on the Drop Downs Choices but I don't see how to do that?

    Any help would be majorly appreciated or an alternative solution. Let me know what you think and big thanks in advance.
    -B

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink
  2. What you want to do sounds a little more complex than what conditional logic can do right now. This functionality is not present in Gravity Forms. You might be able to do something with jQuery but I have not seen anyone post a solution to do that with Gravity Forms yet.

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink
  3. geod
    Member

    Oh boy that is a bummer. I may have made a huge mistake. Is there anyway you think I could do something like that outside of jQuery? A creative solution. Maybe using page breaks or similar. Have you seen anyone do something that reminded you of this?
    Thanks Chris - really appreciate it.
    -B

    Posted 11 years ago on Thursday September 20, 2012 | Permalink
  4. I guess if you needed to, you could use conditional logic. You would have to build all your drop downs. Then hide them all until the condition is met from the first selection to show the rest. Then unhide more after the next selection is made. It might work.

    You said you did not see how to do that? What part did you not see?

    Posted 11 years ago on Thursday September 20, 2012 | Permalink
  5. geod
    Member

    Thanks Chris - It looks like it will just be a huge form. I am seeing if I can come up with a solution and get all the parts working together. I may ask you a question tomorrow. Appreciate your help.
    -B

    Posted 11 years ago on Thursday September 20, 2012 | Permalink