- dbisAsked on March 03, 2018 at 12:22 AM
We have been wracking our brains over a form for days. It is a booking form for music lessons for students.
Students have the ability to book one or two instruments.
The weird thing is that the logic around instrument one behaves as expected (showing additional fields when selected etc.) whilst the logic for instrument two only seem to respond to changes to instrument one even though it is coded for instrument two.
I know what you are going to say - we made a mistake and are referring to the wrong field in the conditions but two of us have gone through it and cannot see an error. Instrument one conditions deal with instrument one fields exclusively. Instrument two conditions similarly deal with instrument two fields exclusively. Everything is in the correct logical order as far as we can tell.
It is a complicated form - you can only hire certain instruments, we don't allow trio lessons except for guitar and ukelele lessons and some year groups are not allowed to take certain instruments. It is all controlled through hidden fields and a series of conditions. Everything else is working fine. Just the instrument hire for instrument two.
Please could you check to see if there is something else going on under the hood? We are both beginning to think it is a bug in Jotform.
We would be eternally grateful!
P.S. Here is the link to the form
(Try selecting alto saxophone in instrument two. It should come up with a hire option. Doing it in instrument one gets the hire option to appear no problem (and suddenly the hire options for instrument two magically appear!)Page URL:
- JotForm SupportAdrianAnswered on March 03, 2018 at 08:21 AM
I suggest you try a different approach.
First, disable or remove the conditions which SHOW/HIDE the "Instrument Two Required?" field.
Then, add a condition like to SHOW the "Instrument Two Hire Required?" and "A separate..." fields when the Instrument Two is equal to the options you want (I only included 3 for demo purposes).
When Instrument Two is changed, the fields show and hide accordingly. I hope this works for you.
This looks like a bug to me as well, but I am not sure if there is some sort of conflict between the conditions. I have tried cloning the form many times but could not find any faulty condition. The SHOW condition does not trigger when Instrument 2 is changed. I have cloned your form and showed some hidden fields (For Hire Block 1, Hire Test 1, For Hire Block 2, Hire Test 2). When you focus and remove focus from Hire Test 1, the condition seems to take effect. See the cast below: