How to disable button after pressing?

Is there a way to disable a button after it is pressed?

Hi Keith,

Yes. This is possible.

  1. Create a boolean variable and set the initial value to false
  2. Link the variable to your button property called “disabled”
  3. In the logic of your button on the event “Compotent tab” set the variable created in step one to true.

Kind regards,
Onno

1 Like

Link the disable option for the button to a true false page variable. You can set the variable to be false somewhere after your on-tap event is triggered.

You’ll find that most functions will require a similar approach.

1 Like