Page 1 of 1

Event scripts not working in JS Viewer

Posted: Fri Mar 01, 2019 10:48 am
by Algis
We have Script in GetHyperlinkEvent:

Code: Select all

if(Checks.ControlType=="DOCUMENT") {
	e.Value = Checks.Answer;
} else {
	e.Value = null;
}
It works as expected when Previewing in Default and HTML Previews but does not work in JS Preview.
I can't find anything mentioned in documentation regards Event Scripting...

Any hints what we are doing wrong or reference to the working sample?

Regards,
Algis

Re: Event scripts not working in JS Viewer

Posted: Fri Mar 01, 2019 2:19 pm
by Lech Kulikowski
Hello,

Unfortunately, in the JS version, scripts in events are not supported.

Thank you.

Re: Event scripts not working in JS Viewer

Posted: Thu May 11, 2023 2:11 am
by JeffersonValim
Lech Kulikowski wrote: Fri Mar 01, 2019 2:19 pm Hello,

Unfortunately, in the JS version, scripts in events are not supported.

Thank you.
Does it will be supported in the future?

Re: Event scripts not working in JS Viewer

Posted: Thu May 11, 2023 7:57 pm
by Lech Kulikowski
Hello,

You can use the Blockly feature
https://www.stimulsoft.com/en/blog/arti ... t-designer

Thank you.