How does validationGroup work?

This should be a simple topic but I haven't been able to completely figure out how does the validationGroup work. For example, let's say I have a form with two sections. On the first section I have two fields and a buttonWidget. In another form I have two other fields with another button. The fields on the first section I have them as required=true but the fields on the second section are NOT required. If I leave the fields on the first section blank and I click on the button from the SECOND section, the validations will kick off on the first section. I DONT want this to happen. I want the sections to be independent. I tried adding validationGroup to the button and respective fields and the red * from the required fields are gone. Why are they gone when I add validationGroup? How can I make the buttons be independent for their given sections?

Why something so simple like this seems to be more complicated? Am I making it more complicated than what it actual...

OriginalPostID-205318

OriginalPostID-205318

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data