Script results

Top  Previous  Next

eaForms will use the result (a string) returned from scripts in the following way:

If no result then eaForms assumes OK
2 - means OK and requests eaForms to the content of the form
Non-zero value means OK
0 - does not return OK which will present the result string in a message box to the user; note this does not affect the actions of eaForms but presents the designer the option to present information, although we would suggest that this is normally handled within the script


The result value is always written to the trace window and log file if either or both are enabled