Rule Not Validating on Field Change

Forums Dynamic Forms for SharePoint Rule Not Validating on Field Change

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #29269
      Andrew Fletcher
      Participant

      Hi Alexander —

      I have a rule setup (index 3) to look at group membership that is also linked to another rule that is higher in the list (index 0). Both rules are setup to validate on Form Load and Field Change. When I run the debug on the index 3 rule it validates the index 0 rule as False on load but when I change the field to make index 0 true the index 3 rule never re-validates. Do group membership rules only validate once?

      Thanks,
      Andrew

    • #29276
      Alexander Bautz
      Keymaster

      Yes, as stated over the “Validate on” select, it only applies to fields.

      The rule validating on group membership doesn’t need to be reevaluated because the group membership doesn’t change. Move this rule up and evaluate it first, then check this rule value in the other rule instead.

      Alexander

    • #29278
      Andrew Fletcher
      Participant

      Oh ok. That makes sense. I guess I wasn’t clear on the fields portion of that text. Greatly appreciate your assistance!

      Andrew

Viewing 2 reply threads
  • You must be logged in to reply to this topic.