Forum Discussion
Chris Cundy
Feb 11, 2022Brass Contributor
[Resolved] Flow button visibility based on choice values of another column
Hello,
I'm trying to show a flow button in one of my columns only if the choice value of another column is equal to either Failed OR No. If the choice value is equal to Yes or In progress then the button shouldn't display.
"visibility": "=if(([$SentToCx] == 'Failed') || ([$SentToCx]! = 'No'),'visible','hidden')"
I've tried using this code however it's not working as expected.
- I've solved this using the following code:
"visibility": "=if([$SentToCx] == 'Failed','visible',if([$SentToCx] == 'No','visible','hidden')"
- Chris CundyBrass ContributorI've solved this using the following code:
"visibility": "=if([$SentToCx] == 'Failed','visible',if([$SentToCx] == 'No','visible','hidden')"- mherman284Copper Contributor
Chris Cundy in the style property
"style": {"border": "none","background-color": "transparent","cursor": "pointer","visibility": "=if([$Title] == '5','hidden','visible')"},