Announcements
You won’t be able to make SubmitForm() bypass required fields directly—that function always respects the form and data source validation rules. So if a field is marked Required (either in the data source or the card), SubmitForm() will block submission.
Required
!varIsDraft
Note: What will this toggle here:
varIsDraft = true
varIsDraft = false
In Form OnSuccess
If( varIsDraft, Patch(DataSource, LastSubmit, {Status: "Draft"}), Patch(DataSource, LastSubmit, {Status: "Submitted"}) )
LastSubmit
Form1.LastSubmit
Patch()
SubmitForm()
Step-1: We will use save draft → use Patch()
Set(varIsDraft, true); Patch( DataSource, Defaults(DataSource), { Title: DataCardValue_Title.Text, ChoiceFinanceType: Blank(), ChoiceFinancePo: Blank(), Status: "Draft" } );
Set(varIsDraft, false); SubmitForm(Form1);
Hi Bro, SubmitForm() can’t bypass required fields directly. Use a variable to control validation.
Hi Bro, SubmitForm()
Save Draft Button
Set(varIsDraft, true); SubmitForm(Form1);
Submit Button
Required Property (DataCards)
If(varIsDraft, false, true)
✔ Draft → skips required validation ✔ Submit → enforces required fields ✔ No Patch needed Best Regards, Pankaj Jangid (OyePanky) Power Platform Developer Website: https://dialforit.com YouTube: https://www.youtube.com/@Oyepanky
If a SharePoint column is marked Required, Power Apps can’t bypass it even in Draft mode. SubmitForm() will fail because SharePoint enforces it on the server side.
Options you have:
* Best option: Make the SharePoint field not required and control validation in Power Apps using a Draft/Submitted status as mentioned by @Haque
* Workaround (not ideal): Send placeholder values for draft (like “TBD”), but this can pollute data.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 936
11manish 628
Valantis 604