web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Power Apps Portal - Change Entity Form's Mode dynamically

(0) ShareShare
ReportReport
Posted on by 40

Hello,

via Javascript, Is it possible to change a Power Apps Portal Entity Form's mode to be "Read-Only" based on the value of a form field?

My form is initially set to "Edit" mode.. I want the form to be in "Edit" mode and filled out only once (the first time it's filled out and submitted).   On submit, I then change a field to Complete=Yes.

From then on out, I want the form to be "read only" mode every time the user loads it. I'm hoping to check for value of "Complete" field... if "yes", then I'd like entire form mode to be "Read-Only" instead of "Edit".  Note, I'd like to set this on Form level, not the individual fields level. 

Or, is there a better way to do this? 

Thank you!

Terry

I have the same question (0)
  • Suggested answer
    Shiho Fujita Profile Picture
    on at
  • naptownblue Profile Picture
    40 on at

    Hello Shihu, thank you for advice. Do you have syntax for how to set form as read-only? Thank 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans