Use custom Javascript
You can use custom Javascript using your own *.js
files. This can be done by adding your files to a js folder in the same (package) folder your gui_init
and gui_event
functions are in.
The functions and variables defined in the Javascript file will be available for global use in custom validators, callbacks, etc.