Announcements
1. Default value for field status is Draft.
2. When Submit the value should change to Submitted
3. When Copy Document, new copied form status is Draft.
How to set this? I try to avoid using variable in the status field as it keep on refresh.
@NurNida
For one thing, take the UpdateContext() out of the SubmitForm() sequence and put it in the OnSuccess property of the form. You dont't want to execute the UpdateContext() if the form doesn't successfully submit.
I tried but still not working.
Somehow, i used patch in submit button and it works accordingly.
Patch('Technical Request',Defaults('Technical Request'),Form1.Updates,{Status:"Submitted"});
SubmitForm(Form1);Navigate(IntroScreen,ScreenTransition.Fade);
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 379 Most Valuable Professional
11manish 203 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2