cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ghutchinsMicron
Helper III
Helper III

Set Card to Display only if in Edit Mode

I am almost embarrassed to ask but here i go...  I want a card to be read only when the SharePoint form is in edit mode.  When in new mode it can be changed but when in edit mode, no changes allowed.

I presume it is something like the following but that would allow edits in DisplayMode.View...  I am guessing...  

 

DisplayMode Property = If(edit mode, DisplayMode.View, DisplayMode.Edit)

1 ACCEPTED SOLUTION

Accepted Solutions
Manan-Malhotra
Continued Contributor
Continued Contributor

 

If(Form1.Mode=FormMode.New,DisplayMode.Edit,DisplayMode.View)

 

Please try it this way

@ghutchinsMicron 

Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

Want to support me! Buy me a Cup of Coffee?

View solution in original post

2 REPLIES 2
Manan-Malhotra
Continued Contributor
Continued Contributor

 

If(Form1.Mode=FormMode.New,DisplayMode.Edit,DisplayMode.View)

 

Please try it this way

@ghutchinsMicron 

Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

Want to support me! Buy me a Cup of Coffee?

ghutchinsMicron
Helper III
Helper III

Now that I see the solution...  of course.  Sincere thanks @Manan-Malhotra 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,853)