0

Button states

1769 0 1
Posted   2 years ago

Hi, 

I'm trying to make a button change colour when a task has been completed, but I can't seem to see any states appear under the button. Is there any way to edit the state of a button once a specific variable has been completed? 

Thanks

 

Comments

( 0 )

Answers  ( 1 )

0
avatar Chris Van Wingerden   |    
Posted   2 years ago
  ●   Edited   2 years ago

The Buttons available on the Insert tab >> Buttons menu panel have a Toggle option.

If you add a button to a page, select it then select the Options tab and there are two options, Allow Toggle and Stay Toggled:

  • Allow Toggle sets the button to its alternate color when clicked and returns it to its original color when clicked again (i.e., each click reverses the color)
  • Stay Toggled sets the button to its alternate color when clicked and locks it to that alternate color, even if the button is clicked again.

The Stay Toggled option is helpful for indicating that a learner has already selected the button on the page.

Let us know if this helps, or if your design needs are more complex.

Comments

( 0 )