cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SeanHenderson
Impactful Individual
Impactful Individual

Different Form Design Based on Mode New, Edit or View

Hi,

Is there a way to have a form display differently based on the mode that it is in? When my users are viewing the data in a form I want certains fields, like name, to be larger and bolder. When they are editing I want something more utilitarian, where they fill in the fields.

Does this make sense? I want them to view the data one way, but enter the data another. But it seems like any adjustments I make, like sizing, carry through whether in edit mode or view mode.

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Thorpe
Super User
Super User

If the changes aren't too different between form modes you can modify the different properties of the controls to display differenlt based on form mode.

 

Example of changing the text size of a label based on Form mode.

Label.Size > If(Form1.Mode = View, 22, 10.5)

 

The other thing you can do which might be easier is to create different forms for each mode that will have a different layout.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Jeff_Thorpe
Super User
Super User

If the changes aren't too different between form modes you can modify the different properties of the controls to display differenlt based on form mode.

 

Example of changing the text size of a label based on Form mode.

Label.Size > If(Form1.Mode = View, 22, 10.5)

 

The other thing you can do which might be easier is to create different forms for each mode that will have a different layout.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

@Jeff_Thorpe 

Yeah I considered using If statements, but that would be a huge pain given the scope. 

I tried out different forms like you said and I think the best way would be to use 2 different forms based on conditions like form mode.

Thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,052)