cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User
Super User

@SandraAkujobi 

Use this 

 

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

View solution in original post

1 REPLY 1
Super User
Super User

@SandraAkujobi 

Use this 

 

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

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (19,932)