
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
enable/disable button
I am trying to disable a button when clicked and enable it when another button is clicked. I have three buttons A,B and C. E.g: When Button A is clicked it should disable and button B should enable. When B is clicked it should disable and A should enable.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put an action on each button to set a variable as 1, 2 or 3, depending on which button is selected, then hide the buttons using the show conditional setting in the Layout tab of the properties. The buttons can all be placed on top of each other to appear is if there is only one button.
Button 1 has conditional show of if(varWhichButton=3,1,0) Button 2 has conditional show of if(varWhichButton=1,1,0), 3 has if(varWhichButton=2,1,0).
So click on Button 1 which has an action to set varWhichButton to 1
Button 2 will now show
Click on Button 2 which has an action to set varWhichButton to 2 and Button 3 will show etc
If this doesn't give you what you need then please explain why do you want to disable the button? What is it you are trying to do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put an action on each button to set a variable as 1, 2 or 3, depending on which button is selected, then hide the buttons using the show conditional setting in the Layout tab of the properties. The buttons can all be placed on top of each other to appear is if there is only one button.
Button 1 has conditional show of if(varWhichButton=3,1,0) Button 2 has conditional show of if(varWhichButton=1,1,0), 3 has if(varWhichButton=2,1,0).
So click on Button 1 which has an action to set varWhichButton to 1
Button 2 will now show
Click on Button 2 which has an action to set varWhichButton to 2 and Button 3 will show etc
If this doesn't give you what you need then please explain why do you want to disable the button? What is it you are trying to do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put an action on each button to set a variable as 1 or 0, depending on which button is selected, then hide the button using the show conditional setting in the Layout tab of the properties.
Help me here. What condition should I put under layout tab?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've added the if statement to the solution.
On the button, right click properties, select Layout, you will see options under show for Always or Conditional. Conditional allows you to set a formula which when the result returns a 1, the object will show.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Should I need to create variable under settings?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes you need to create the variable first

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What values should I mention for the variables created under Settings tab?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You just need to enter a 1, 2 or a 3, depending on which button you want to see first.
