- geozaiAsked on March 07, 2017 at 07:44 AM
I've notices that conditions stop working once form elements are updated. So if I had in condition IF "form element 1-1" IS selected, THEN SHOW "form element 2". So if I change the name of the form element 1-1, condition won't work anymore. I need to go through the entire logic and change it.
Has this been addressed before? Thanks!
- JotForm SupportliyamAnswered on March 07, 2017 at 11:09 AM
There should not be a problem on this when changing labels on the form. I also made tests on a form and I was not able to replicate the problem on my end.
If you're referring to the selected values which is dependent on the answers of questions in the form (such as answer choices on radio buttons or checkboxes), this is because the answer values are treated as static so they do not update right away on conditions. This means that on conditions, you will have to manually update the matching answers every time you change the answer choices on your form.
Here is a scenario: On a radio button field you set a condition like "If on field 1 answer is yes, show field 2). The value 'yes' here will not automatically change when you change your choices on your condition to something else.
If you have other questions, please let us know.
- geozaiAnswered on March 07, 2017 at 11:22 AM
I think we need to dig a little deeper here :-) Here is the situation.
A form contains two radio elements blocks: Block A and Block B. Block A contains three radio buttons with following labels: Radio A1, Radio A2, Radio A3. There is a condition, that says: If Block A is filled and equal to Radio A2, then show Block B. It works!
Now, if I go and change the label of Radio A2 to Radio A2XYZ, the condition stops working. I did not change the the logic, I just changed the label.
Why is it important? It is normal to first create a form with simple terms (labels) and do the logic, and the enrich the form with more clear definitions (labels). But this happens to break the reasoning.
What do you think?
- JotForm SupportliyamAnswered on March 07, 2017 at 12:55 PM
Can you provide a detail to which specific part of your form this is happening? If it's just about changing question labels which has conditions in it, it should work fine (as I have mentioned earlier on the 1st paragraph).
Will look forward to your response.
- geozaiAnswered on March 07, 2017 at 03:57 PM
The part of the form does not influence it. It happened in several instances to at least two forms. However, as you asked :-)
In the form above, T4 Level in Blood, change the label of the first and second options (radio buttons).The value is the Conidtion would be reset to "Please select".
- JotForm SupportKevin_GAnswered on March 07, 2017 at 06:48 PM
I was testing on a cloned form of yours and noticed what you're reporting, when you edit the option's name and go to edit the condition the compared value will be set back to "Please Select".
This seems to be due to the fact of renaming the options, though this does not happen if you edit the field's label.
I will forward this thread to our second level in order to know if could be possible to change this behavior and update the compared value in the conditions as well.
We will let you know about any update.