cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Partisan
Post Partisan

Hide/show buttons when needed

I have several buttons on the screen that populate the date and time, I want to be able to view those buttons only when i'm starting a new form ad when I want to edit, but not when it's on the view page as employees will be confused seeing it there thinking it would work and add in the date/time. How will I go about it. 

 

What I have now in the visible function on one of the buttons is:

f(Form1.Mode = FormMode.New, true ,false)

It works just when I start a new form but when I want to edit the buttons don't show up also the other buttons use the same formula and whenever I enter the edit screen they also don't show up even if I haven't used them yet.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Hide/show buttons when needed

@SandraAkujobi 

Use this 

 

If( Form1.Mode <> FormMode.View, true, false)

View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: Hide/show buttons when needed

@SandraAkujobi 

Use this 

 

If( Form1.Mode <> FormMode.View, true, false)

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,621)