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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans