Disable if any required field is not valid

Hi,

We use Apps with lot of required fields. We do validation on them using the ‘is required’ option and some other checks.
We would like to be able to disable a button (in this case a submit button saving the data somewhere) if at least one field that has the required tag is not properly filled (wrong data or empty). Actually, to have the same behavior as in Action Center forms…

we know we can do it with MainPage.mytextfield.isvalid, but that is not very userfriendly as it is in action center. both options would be nice

best regards.