Tiago Serafim
Tiago Serafim12mo ago

You can use its default id (which starts

You can use its default id (which starts with a, b, etc, or change its ID to a better name by clicking on the the pencil on the left panel (inside Components). On a button, you can click on Create an inline script, choose JavaScript and you can use the input value using its id dot result, e.g: txtNumber.result.
4 Replies
Oleksandr Manakov
Thanks. I forgot that I can access components by their name. Do you perhaps know if it's possible to call some script on input number component value change?
Tiago Serafim
Tiago SerafimOP12mo ago
Yes, you can have background runnables that are triggered when something changes. Add the background script and change its properties on the right side panel
Oleksandr Manakov
But... how to bind the script to a number change? I see "click" event in button component, but there are no any event available for a "Number" input component.
Tiago Serafim
Tiago SerafimOP12mo ago
You have to add a background runnable and configure it to trigger when the input changes

Did you find this page helpful?