All posts by daeneb

Developping with Uniface since 1991 for Molis software

Handle return value when calling JS functions in HTML widget

Currently the only way to return some values from an HTML widget is by firing extended trigger but this is asynchronous (=this is only fired when the process return to the prompt). It would be very helpfull that the call of $fieldhandle(HtmlField)->$widgetoperation(\”JS:%%HtmlFunction%%%\”,HtmlPar1,HtmlPar2) would return the value returned by the called Java Script function (using JS statement return) .