2
votes

I have a form created in PowerApps. Few fields are required for user to fill in. I need to have a form validation before user can click Submit button.

Upon submit button: - All required are fill in - All data saved to SharePoint list - Navigate to 'Thank you' page

I have this link in 'OnSelect' for Submit button If((IsEmpty(Data1, Data2), SubmitForm(Form), Navigate(ThankYouPage, Fade)), false)

But it just navigate to Thank you page even required fields are empty.

Looking forward to your responses. Thanks in advance!

1

1 Answers

0
votes

just a minor change onselect.

If(@not((IsEmpty(Data1, Data2)), SubmitForm(Form), Navigate(ThankYouPage, Fade)), false)