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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,381)