Skip to main content
lashondrac51319316
Known Participant
September 28, 2017
Question

Disable Button after it is clicked

  • September 28, 2017
  • 2 replies
  • 2109 views

     Hello all! In my project I am trying to disable a button after it is clicked. Made an advanced action, but I am not sure if it has to be conditional or not. If it does have to be conditional, what is the script I should write?

Thanks!

-Shondra

This topic has been closed for replies.

2 replies

Lilybiri
Brainiac
September 28, 2017

What is the action that is already triggered by that shape button? There is no reason normally to have a conditional action, if you only want to execute one command and disable that button that has been clicked. Since you talk about multiple buttons, do you have to track also if all buttons have been clicked? Have something happen when they all have been clicked?


Depending on the answer to my first question (which action already to be triggered), it could be better to use a shared than an advanced action.

Inspiring
September 28, 2017

Hi, you can achieve this by using advanced actions. Set up a new advanced action to perform the action you wish the button to take when clicked and then the next action in the advanced action should be 'disable'. Be mindful that if the learner then returns to that screen the button will be disabled, to make it active again you could add another advanced action to 'enable' it and add this at the slide entry level.

disable

lashondrac51319316
Known Participant
September 28, 2017

lashondrac51319316
Known Participant
September 28, 2017

This is the script that I wrote. Although I have the box disabled it does not work