On Set Value Javascript


An expression that transforms the value of the data to populate the control when the .setValue() method is called.


The On Set Value Javascript event fires when the {dialog.object}.setValue() method is called. This allows you to transform the value used to set the control's value.

The JavaScript to transform the value can reference a variable called value. The JavaScript must return a value. For example:


return value.toUpperCase();

See Also