Rules Running Twice - InfoPath Dev
in

InfoPath Dev

Rules Running Twice

Last post 06-05-2015 08:54 AM by Bre Huston. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-02-2015 06:23 AM

    • jcspsu
    • Not Ranked
    • Joined on 06-02-2015
    • Posts 2

    Rules Running Twice

    I created a form and what I wanted was a "Sum" at the bottom based on choices made above. So for instance if they approve the formatting then the score goes up by 25... if they like content then the score goes up by 25... (100 possible). I used Yes/No for two choices and the other choice is 1 of 5 check boxes (Excellent, good, etc.). However, if they first pick yes (say for formatting) and then change their mind and choose no it has already added the 25 to the score at the bottom. Also, if they go back and choose yes a second time then it adds the 25 a second time. What is the best way to avoid this type of error?
  • 06-05-2015 08:54 AM In reply to

    Hello jcspsu,

    For this I would add a second rule to subtract when the user de-selects. This way as they make changes the value will update. Actions only fire on a change event from a field, so you should not see any behavior on form load that would set the field.

    Hope that helps!
    Bre

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.