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
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?
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
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.
You have to add a background runnable and configure it to trigger when the input changes