Avatar

Level 7

Wow, you have some good suggestions--but not the right answer. Here's the deaL you want to reset the form back to its original state--not just clear the fields. This was a source of frustration for me until I figured it out.

Decide on the trigger (i.e. click, exit, whatever, doesn't matter) and use the following script:

xfa.host.resetData();
xfa.form.remerge();

That's it! It does the trick--and it's not hard. Wow! I love this solution. I think you will too.

Best,

Stephen