- tishmanj2Asked on January 23, 2014 at 01:15 PM
Newbie here. Just want to be clear about that up front. ;-)
I am loving JotForm. It looks like just the tool we need - "IF" I can wrap my mind around using conditions and form collapse fields.
I am working on what I would consider to be a fairly long and dynamic form (meaning choices show and hide other choices as the form is completed).
It is a form that gathers information about different print projects. Users select what type of project they have (first general, then specific) and their input determines what options show for those projects. Each project can have different options.
I'm trying to accomplish this using a combination of Collapse Forms and Show/Hide conditions.
Some choices show an entire collapse form, and need to hide other fields that are currently inside another collapse form - if that's possible.
It might help if you view the form and I tell specifically where the problems comes in:
The first choice is "Project Type." Selecting "Promotional Item" works perfectly. No problems there. It shows the "Promotional Item Section" and the "General Info Section" as defined by Collapse Forms.
When "Project Type" = "Print/Copy" that basically works fine too. It shows more than I need, but it's fine.
Next, when "Print Project Description" = "banner," "Book/Booklet," or "Brochure" those all work fine too.
It's when "Print Project Description" = Envelope and options below that where things fall apart. When "Envelope" is selected, I need to "Hide" the fields including and between "Flat/Open/unfolded size" and "Any other finishing treatments." These fields are containted within the "Print Options Section" collapse form.
That seems do-able. However, there are some options in the "Print Project Description" for which I need to hide one or two fields in the "Print Options Section" and show the rest. For example, when "Print Project Description" = "Multi-Part (Carbonless) Form" I need to hide "Paper Stock," Will this peice be folded," and "Any other finishing treatments." Is this possible or do I need to think about this differently?
This is the case for several other options in the "Print Project Description" field, but figuring out this one will help me apply it to the rest.
I really hope that all makes sense! Please reply if you need more information or clarification.
Thank you for any help anyone can provide!
- JotForm SupportNeilVicenteAnswered on January 23, 2014 at 02:43 PM
Your conditions are a little complicated. I understand how anyone will get easily lost in what seems to be a logical labyrinth.
Here's a quick tip:
Consolidate rules that result to the same action.
Instead of the action "Hide Paper Stock" being present in multiple conditions, create a single condition and have the rules consolidated under it.
And here's a demo:
Of course, if there is another action that is common to these rules, you can just easily click the "Add New Action" button.
- tishmanj2Answered on January 23, 2014 at 02:56 PM
Thank you! I'll give that a try.
- tishmanj2Answered on January 24, 2014 at 09:36 AM
After cloning and redoing all the conditions, I got it working better. I still have some tweaking to do, but thinking about it that way helped. Thank you!
- JotForm SupportNeilVicenteAnswered on January 24, 2014 at 09:39 AM
We are so happy to hear that.