What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Help with conditional logic!Asked by tishmanj2 on February 21, 2014 at 10:25 AM
I have created a lengthy form with multiple form collapse field sections. As the user is filling out the form, different collapse field sections need to show or hide based on a couple different conditions.
I'm not sure what the best way to explain this is, but I'll try this and let me know if I need to explain it differently:
if you look at the form, here's what I want to happen:
Fill out the form from Name down to "Vendor Quoted price.
When "Vendor Quoted Price" is filled I want the "We may be able to save you.." text and the "Do you want a competitive to show.
Then, if "Do you want competitive offer.." is equal to "Yes" I want to show either the "Print Options" collapse section or a different collapse section or both, depending on the selection in the "Project Description" field. Right now the Collapse Field shows immediately when a selection is made in the "Project Description" field. I need that to wait until the "Yes" is selected for competitive offer. If "No" is selected the collapse fields do not need to show.
So the "Show" form collapse fields are dependent on two conditions being met - the input in the Project Description field and the selection of "Yes" in the Do You Want a Competitive Offer field. I can make these things happen individually, but not all at the same time because I think my conditions conflict with each other.
Is there a way I can do this or do I need to approach it differently? It needs to happen in the order stated above.
Let me know if I need to clarify this more. Can I link to the actual form or is the link provided sufficient?
Thanks in advance for any help anyone can offer!
I am willing to help
can you post your form from Jotforms so I can replicate it to
try it out ?
edit: is this the one - original?
Sure. Sorry about that.
Is this what you need?: http://form.jotform.us/jsform/40503393011137
I tried several types of Conditions and the form wont show the fields when someone enters the txt in
"Vendor Quoted Price" field
Have you tried following this instructions:
I just tried a little revere logic so here it is:
Try entering some value in "Vendor Quoted Price" field
I took a look at the conditions and you are right they are in conflict.
You wish the same field to behave in different ways (Would you like a competitive offer...) because is this field you wish to do the final trigger for the different specific collapse fields to appear.
My suggestion is to move the "project description" and "describe project fields" after "Would you like a competitive offer" field and setting the conditions accordingly:
Let us know please if this is a solution for you.
You got it. The only think I need different is that I don't want the "Print Options" section to show until they say "Yes" to competitive offer. and I got that part figured out.
I actually just figured it out with some help here. I added a "show" "Print Options" if "Project Description" "Is Not Equal To" Banner, Book and Envelope.
Then added a multi-contitional rule: if "Competitive offer.." equals "Yes" AND "Project Description" equals "Banner," then Show Banner section. I did the same for Book and Envelope.
Thank you for your time and assistane!
This is a great community and a great tool.
I think I accomplished what you said by "moving" the conditions from the Project Description field to the "Competitive Offer" field and changing them up a bit.
The fields needed to be in the order that they were.
All the help is greatly appreciated!
don`t mention it you got a nice form for a really good purpose !
I'm glad to hear it! Please let us know if we can be of more assistance.