Default selection of dropdown is not retained if condition to update the value/selection is added.

  • Profile Image
    EngPaired
    Asked on August 11, 2015 at 05:44 PM

    I'm trying to understand some more details on how the conditional logic options are evaluated. Specifically I want to know when they evaluate and what happens on conflicts. 

    Here is an example form:

    http://form.jotform.us/form/52175137766158

    1st Question - For 'Answer' I have C selected by default, but it appears that since it is tied to a conditional statement that it defaults to nothing selected, whereas 'Answer2' which does not have any conditional statements tied to it keeps it's default value of D. Can I not use the selected option if I am also using conditional statements?

    2nd Question - I have two fields that both conditionally set 'Answer.' If I select '1' for 'Question 1' it changes answer to 'A' then if I select '4' for 'Question 2' it changes to B. If I go back to Question 1 and click '1' again it will change back to A.

    So are the conditional statements tied to the filling out of specific fields then? and they don't get evaluated again at the end? If so does it matter what order I put conditional statements in the list of conditions? 

    * as a note, the actually application that I'm using this in is to set the value of a hidden field, so I don't really care what it displays as people are filling out the form, I just want to use logic to come up with a final answer that I'll see when they submit

  • Profile Image
    EngPaired
    Answered on August 11, 2015 at 05:57 PM

    One further Question - If I select '1' and then select '4' 'Answer' shows 'B.' But then if I change my answer to question 2 to '5' 'Answer' stays as 'B' even though my conditional logic says that if 'Question 1' is 1 'Answer' should be 'A'.

    Is there a way to make the conditions all evaluate again? Or another way to make sure that this error does not occur?