- HubertdubathAsked on October 28, 2012 at 11:29 AM
Dear Jotform team,
I've created a form (http://form.jotformpro.com/form/22672551679968) with 3 criteria for a lot of conditions: it worked perfectly yesterday but nothing appears now when I select 3 criteria. I guess the conditions don't work anymore...
I would need your help
Thanks in advance!
- JotForm SupportDeygusAnswered on October 28, 2012 at 12:13 PM
Hello, could you please a provide us with bit more details as to the condition branching that you are trying to create so that we can help you to fix this problem?
- HubertdubathAnswered on October 28, 2012 at 12:21 PM
Thanks for your reply,
I have 3 main cirteria with 2 choices for each : the 8 different combinations have a condition to make appearing a new question, then, each answer of these 8 question make appearing some text...
The first step doesn't work : when choosing an answer for the 3 first criteria, nothing happens.
Everything was working before but for few hours, it doesn't. I checked all the conditions but don't find why...
- JotForm SupportDeygusAnswered on October 28, 2012 at 12:38 PM
Okay, first make sure have all your form filled out and built exactly as you want it then start adding in the conditions to hide and show answers and such. It is imperative that you have everything filled out otherwise when you go to make the conditions it will get very confusing in the lists or you may even accidently put a wrong condition for a wrong question which can mess everything else up.
Second, I would like to recommend that you read http://www.jotform.com/help/57-Conditional-Logic-on-Forms if you haven't done so already.
If you're still having trouble past this it is most likely because you haven't setup the conditions correctly and it is a good idea to set them to " Hide " instead of show based on criteria. Another good rule of thumb on top of this is to combine the conditions if you are able to do so even though this isn't always the case due to separate questions but it helps to avoid further confusion.
Past that though, if you're still having problems which I can see this is apparently the case possibly. Could you please describe the setup that you want to us so that we can assist you in achieving this? Currently I can see a based on the form you've mentioned and the form view that this was done all wrong so we would be happy to lend you a hand?
I'm referring to telling us what you want such as...
" For Q2 hide Answer A if Answer B in Q1 is picked and so on (if this makes sense so that we can help you correct your condition logic)
" For Q3 show Text box to allow user to input typed answer if they chose Option A, Etc "
This all really depends on how you want it done and what you are trying to achieve however you want to put it that is.
I say this because it is a bit difficult to look at your form and figure out exactly how you want your conditions to be applied so I apologize if I've confused you more which I hope I have not done.
- JotForm SupportjonathanAnswered on October 28, 2012 at 12:48 PM
Hi, in addition to Deygus's, a good strategy to debug this is, to first clone your form, then on the cloned form, removed all the conditions. Then slowly put back the conditions, whiles testing them each time... you can update us if you get stuck into a certain condition that will not work while in testing mode.
Right now, when I checked your current form, none of the complex condition is working. The form would not even moved after testing each options. It is quite difficult to debug due to the complex rules setup.
Hope this help.
- HubertdubathAnswered on October 28, 2012 at 01:37 PM
Thanks a lot for your replies!
I can't set the conditions to "Hide" but to "Show" as the beginning of my form is a pricing calculator (in function of 3 criteria, the user will be able to check the prices of 3 packs, appearing when these 3 cirteria are selected: when the user change a criteria, then, the pack's prices change).
Do describe the outcome:
In function of the answers to the Q1, Q2 and Q3, a Q4 should appear, with 3 possible answers.
If you change a criteria of one of the 3 first questions, the 3 possible answers to the Q4 should change.
Once you answer the Q4, a text should appear below it + a payment form...
But the problem is the Q4 never appears!
It worked perfectly before but nothing happens anymore, and I didn't change the conditions.
I tried your solution. As I have 23 conditions (and inside each one, many rules), I deleted all and did it with only 1 to try, but when I selected the first answer to the Q1, the Q4 appeared... So, the rules of my condition were not all taken into account.
Do you have any idea of why the form worked before but doesn't anymore? Would you be able to check it directly with the edit mode?
- JotForm SupportjonathanAnswered on October 28, 2012 at 01:48 PM
I am now testing your Clone of Master P form (correct me if this is not the form).
As I checked, the rules you setup was equal to ANY of the 'IF'.. this means any of the 3 condition will suffice and SHOW if met.
Try changing ANY to ALL.. and test again. See if the result is what you expect.
Please update us if you encounter setback.
- HubertdubathAnswered on October 28, 2012 at 01:55 PM
Thanks! I was using the french version, and the translations of "any" and "all" don't make sense... I'll turn in into English and will try to create again all the conditions.
Your support is as amazing as your service, thanks a lot! :)
- jeanettebmzAnswered on October 28, 2012 at 02:01 PM
Thank you very much! We are very happy to hear such opinion about our Support Team
- HubertdubathAnswered on October 28, 2012 at 02:49 PM
I just finished to set all the conditions of the form's clone but the problem is exactly the same... The Q4 never appears when the Q1, Q2 and Q3 are answered... any idea?
- JotForm SupportjonathanAnswered on October 28, 2012 at 03:08 PM
Using only the first condition, I set it to ALL.
The condition seems to work correctly on a test form.
Q1 =1, Q2 =1, Q3=2... then Q4 appears.
Have you checked using only the very first set condition? This is just what I did here, and it work. Maybe as you go along adding the other rules/conditions it can override the previous other condition, this can cause to break the conditions.
- HubertdubathAnswered on October 28, 2012 at 03:30 PM
Thanks for your reply. Yes, before to set all the conditions, I did exactly the same test, with the first condition. As on yours, it worked perfectly, but as soon as I set the others, it doesn't work anymore. However, the folowwing conditions don't override the first ones... and it worked with the same configuration when I created it for the first time.
- JotForm SupportDeygusAnswered on October 28, 2012 at 04:27 PM
From what I can see after taking a look at your conditions is that you have several and because of the way it is being done, it is causing conflicts with the rest of your conditions because it is very repetative in your list.
See what i'm talking about - (even though they are different alot of them are the same even though separate)
From what i'm understanding so far, your first set of questions would be setup as
Q1 w/ A1 + Q2 w/ A1 + Q3 w/ A2 = Q4 SHOWS w/ Pricelist (then so on and so forth)
But past that I'm seeing only the numbers changing so it then becomes very confusing along with the displayed Red Messages that you have. How are you wanting these all ordered to tie in and comply with Q1, Q2, Q3, and Q4 rules to create the various different responses?
This is the problem as to why it's not working correctly. Also it is important to know that your conditional list corresponds to your fields so that as you create conditons you need to go down the list applying them appropriately such as if condition 1 in the list is wrongly selected even though it is the same name with different info as condition 3 then you need to make sure that condition 3 is selected to make it work properly.
- HubertdubathAnswered on October 28, 2012 at 05:10 PM
Actually, the names of the fields are the same because they correspond to the first words (what are all the same, as only the prices change). But I linked the conditions to different fields by using their position in the form to recognize them.
Maybe you could underdstand more easily with this layout
- JotForm SupportidarktechAnswered on October 28, 2012 at 06:03 PM
I have cloned your form and "Expanded" the shrunken fields (right click the field and Expand, then set the label alignment to TOP) and the condition starts to work normally. I didn't changed any of your conditions yet. Check this: http://www.jotformpro.com/form/23016925515955?
You can clone this form if you like: How to clone an existing form from a URL
- HubertdubathAnswered on October 28, 2012 at 07:26 PM
I didn't know this influenced the conditions. It works perfectly now... THANKS SO MUCH!