Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Lock form for editing once Status = Submit

(0) ShareShare
ReportReport
Posted on by 181

Hi.

 

I need to change a form from Edit to View once ThisItem.Status.value="Submit"

 

The idea is once a record has been formally submitted no one can make any changes. 

 

Thanks

Categories:
  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on at
    Re: Lock form for editing once Status = Submit

    @Angry_Sys_Admin 

    You would need to look at the status value of the Item in your form and set the mode based on that.

    Look at your Item property and see how you are getting the record for the form.

     

    So, let's say it is with a record variable - varRec

    Then you would set the DefaultMode of the form to:

      If(varRec.Status.Value="Submit", FormMode.View, FormMode.Edit)

     

    I hope this is helpful for you.

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,620 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard