Reset button and message box.

martynd4832568

04-04-2017

Newbie using Using LC ES4.   I have a Reset button. On click I would like to show a message box with "OK" and "Cancel" buttons, I would like the OK button to reset the form, and the Cancel to just close the message box and return to the form. I can do the reset, but the cancel escapes me.

I'm using this to generate the message box:

xfa.host.response("Continue with Reset? This action cannot be undone!", "Are You Sure?", 4,1);

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)