Tweak

Path

Actions

Session

Login

Fields


Connecting two fields

Say you have a widget with a field named yourField that should always be set to the value of myField in the app object. Here is how you wire the two fields:

 widget startScript: #yourField: when: {app. #myFieldChanged}

This works because the current value of app myField is provided as first argument to the event handler yourField: (this is the case for any change event).