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:
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,
Solved! Go to Solution.
Hi @Lam01007 ,
The ShowError function has been changed its name to Notify. See more information below:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-showerror
Regards,
Mona
Hi @Lam01007 ,
The ShowError function has been changed its name to Notify. See more information below:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-showerror
Regards,
Mona
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
199 | |
99 | |
59 | |
58 | |
55 |
User | Count |
---|---|
257 | |
161 | |
88 | |
79 | |
68 |