There are many situations that you can have functions assigned to ‘onblur’, ‘onclick’ and so on. You also set values through the api, but it won’t trigger the functions. If you would set one field through the api, okay the next line can be run function name but you won’t have the event parameter.
So I would like something like this
$w("#dtFrom").value = "bla" // as is it is now
$w("#dtFrom").value = ("bla", {onchange: true, onclick: true})
#
So you can pass which of the script function attached to the element to trigger. You already can do the “blur” (which I hope triggers the onBlur() too) so why not the rest