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.
Conditional Logic Problem - RESOLVEDAsked by AA_C on January 02, 2016 at 02:34 PM
On form 53464905175965, I have some conditional logic I can't get to work just right.
It has to do with the Members Options vs Non-members Options.
If the options are blank every thing works as it should.
But for example if , (Replace card) is selected in Non-Member options and you switch to Member options the Show logic for Member options is messed up. It is being interfered with by Non-Member selection even though it is now hidden.
I'm lost as how to make this work.
I checked your form and I can see this issue :
Then, in your conditions you are using the same fields with both options, "Members" and "Non-Members".
You are affecting the same fields with all the conditions.
I would suggest you to duplicate the fields and then use different fields to show on each selection, different fields for "Members" and "Non-Members".
Doing it, you will perform the functionality in your conditions.
Hope this will help you.
OK that makes a lot of sense.
Although the Members Options and Non-members Options should not be visible at the same time. In the field above it asks if you are a member or not. If NO then Non-Members Field is visible and if Yes, the Members field is visible. It appears the logic for this was not there for your test. I was under the wrong assumption that a hidden field became inactive.
This may be a new thread but is related to the fix above:
One thing further, Is it possible to have the fields overlap one another so that they will always appear in the exact same location. I notice when I have Non-members Options replaced by Members Options it is not on the same place on the form. I will have the same problem with the other two fields if I duplicate them.
I copy this script to my website so I can use verification for members numbers with php.
I was thinking I could use a div around each of the fields to locate them. What do you think?
On the form you show above I put a text box "Options for Non-members' It was not required I put it there to prevent a field from jumping into this space, It is occupied by 'Members Number' field for members and empty for non-members.
This logic stuff can make old man much older very quickly.
I have in working in a fashion, but I don't like the way the fields bounce around.
And, I have set the default for "Are you a current member" to NO
That should only allow the display for the non-member fields, that works, here's the glitch,
If I then switch to YES the non-member fields are hidden but all the Member fields are shown.
I have set the default for members options set to New Card so it should hide the other two fields.
In order to hide them I have to pick another option and then pick New Card again and then they are hidden. If I then go back and pick NO in are you a current member field, the same holds true for the Non-Member fields, they are all unhidden unless I select another option then pick New Card.
You can see why I am growing older quickly. What am I doing wrong?
Can you please check this cloned version of your form: https://form.jotform.com/60026405452950 ? Let me know if the conditional logics are correctly placed.
OK... I like what you have, the fields are placed correctly.
Although it is still doing that weird thing when switching between YES and NO option for are you a member. It shows the two fields I want to hide for New Card. In order to hide them I select the address change then go back to new card. Also if you reset the form all the fields appear. Can that be fixed? I was thinking If I made the default 'Address Change' It would no be so obvious.
The form data is being saved by browser due to enabled Autofill feature on form. I would like to suggest disabling it to see if it helps in your case.
I tried this and it changed nothing. It still is doing the same thing ???
I checked your form and I can see there is a conflict between some conditions, the only thing you have to do in order to fix it, is disable the hide conditions related to "Êtes-vous un AAC membres actuels?" field.
Try disabling them, your form should work fine, see my modified form here : https://form.jotform.com/60034764065957
Feel free to clone it.
Let us know if it works as you need, we will wait for your response.
GREAT... That did the trick... That logic stuff is not logical to me.
You have to be a Spock type I guess.
So now between your answer and what Welvin offered I should get what I want.
Thanks to all of you. Great Support Again!
That's great to know! It's our pleasure to help. Please contact us again if there are any problems.