Multiple condition to update the value of one field does not seems to work.

  • Profile Image
    Asked on August 12, 2015 at 12:52 AM
    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
    Answered on August 12, 2015 at 04:43 AM

    Hello EngPaired,

    Please be noted that if you add two conditions to update the value of same form field and both the conditions are triggered, there will be a conflict. In such cases one condition will be overruled by other based on the priority. You may like to check the following guide for more information on how to set the order by for conditions : 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    Answered on August 12, 2015 at 03:06 PM

    This does not seem to match what I'm seeing in the example form. If I have two conflicting rules it does not matter which one is listed in the first priority, it only matters which was the last field that I updated. If I have question 1 and question 2 both updating 'Answer' it doesn't seem to matter what order I put the conditional statements in, it only matters which was the last one I touched when filling out the form. 

    Am I missing something?

  • Profile Image
    Answered on August 12, 2015 at 07:15 PM

    I think that your assumption is correct, only the most recent corresponding 'Update a form field value' is actually evaluated (other 'update' conditions are not considered).

    In case you use Show and Show Multiple conditional actions (based on a single field), I would like to suggest to not mix them. These conditions might conflict, so it is generally recommended to stick with one conditional action type per field. The Show Multiple actions are more predictable in my experience.