I've finished making a form in Power Apps.
The number of required fields is relatively low.
I require a validation procedure for the form to be completed before the user can hit the Submit button.
After clicking the “Submit” button,
All fields are completed and saved to a SharePoint list.
Please visit the 'Thank you' page.
For the Submit button, I have this URL set to “On Select.”
If ((Is Empty(Data1, Data2), Submit Form (Form), Navigate(ThankYouPage, Fade), false)) then
Even though all the fields were supposed to be filled out, it skips straight to the “thank you” page.
It is with great anticipation that I await your responses.
Please accept my sincere appreciation now.
A minor change in your formula
If ((not Is Empty(Data1, Data2), Submit Form (Form), Navigate(ThankYouPage, Fade), false))
and even you can use required property of datacard,
by default, it is false and to make this filed as required you have to make change is to true.