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

Hide a button in gallery unless yes/no toggle is set to true/1

Hi All,

 

I thought this was something easy to do but I'm obviously missing something here.

 

I have a view gallery that displays Corrective Actions. It has an Amend button and a Progress Button. There is a label that displays True/False based on if the Correcive Action has been initially approved or not. What I'm after is for the Progress CA button to only be visable if the Initial_Approval_Complete is set to yes (True or 1).

 

Initial_Approval_Complete = Toggle button (Yes/No, True/False, 1/0)

 

So I thought it would be something as simple as this on the Visible property of the Progress CA button.

 

If(Initial_Approval_Complete = 1)

 

 I've also tried, True here.

 

Its obviously not as simple as I thought.... As I'm finding alot of the time in PA.

 

Any help would be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @Doddy83 ,

You should not need the true/false or If - Visible can be simply

Initial_Approval_Complete.Value

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
eka24
Super User III
Super User III

On the Visible of the button put;

Initial_Approval_Complete.Value=true

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

WarrenBelz
Super User III
Super User III

Hi @Doddy83 ,

You should not need the true/false or If - Visible can be simply

Initial_Approval_Complete.Value

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Many thanks, this sorted it. Althought I didnt need the .value at the end.

 

Was even more simple than I thought!

 

Thanks again!

Sorry for delay, I did also try this as it's very similer to what I was trying but couldn't get this to work either. It didnt seem to like the = being in the formula?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (69,937)