Hi all,
I would like create a form with PowerApps on SharePoint Online.
and would like the a "Submit" button with the following function in "onSelect" action:
- validate the form, if failured, show error notfication & message;
- change the "Status" field to "Submitted";
- update all fields to list item
I know that, the "SubmitForm()" function is including Validate function and if validate failure, the related error message will visible.
Howerver, since I would like to change the "Status" field to "Submitted" before "SubmitForm()", so that, I cannot directly use "SubmitForm()" function.
After that, I found that, "editForm" have "Valid" properies and it will return a bolean as the return result, but it did not trigger to show error mesage on each fields (i.e. DataCard.Error).
Here is some coding on my SubmitButton.OnSelect:
My question is, any build in function can show all fields's error message, instead of "SubmitForm()"?
Or any idea / workaround solution?
Many thanks,

Report
All responses (
Answers (