I have a form with a checkbox that, when checked, displays an error
message using Javascript xfa.hostmessage on the click event. I would
like the form to close after the user clicks "OK" on the Javascript
Warning box.I have tried adding an app.execMenuItem(Close); script after
the xfa.hostmessage box script, but it did not work. I also tried the
app.execMenuItem(Close); script on the exit event of the checkbox, to no
avail.Is this even possible? Any assistance is greatly appreciated.