Tutorial: Form examples

Form examples

On this page you will find a sample implementation for many HTML5 controls. The binding is set up in both directions, so that a change to the control also causes a change to the values, and changes to the values cause a change to the control.

You can save the updater as a temporary variable in the console. In our case Chrome assigns the variable temp1 to the object.

Note that instead of temp1 you have to take the variable from your browser.

And then access the data array using temp1.getSubject().

For example, to enable the checkbox you can set temp1.getSubject().value.checkbox="YES". To deactivate the checkbox you have to remove the value temp1.getSubject().value.checkbox=undefined

Note that you have to take the variable from your browser instead of temp1.

At the bottom you will find the JSON with all values

Examples