How do validationGroups work?

I have a grid rule and a separate rule for a "toolbar" of buttons. There are some validations that I want to execute as soon as a row in the grid is selected and an additional validation that I would like to occur only if a particular button in the toolbar is clicked.

How do I set this up? I started looking into it trying a validationGroup on the button and the gridField, expecting it to cause ALL validation on the grid to only execute when the button with that validationGroup was clicked (which would mean my grid validation that I WANTED all the time would be missing, but I was just finding a place to start...) Instead, I found that the validation was triggering regardless, but only preventing form submission for the button i put the validationGroup on.

What am I misunderstanding about how validationGroups work?

Thanks,
Dan

OriginalPostID-198196

OriginalPostID-198196

  Discussion posts and replies are publicly visible