Hi!

I'm trying to find a way to avoid making my form users click the "reset form" button to make sure the form data gets cleared when they're done with the form (like after they hit the print button, but not because they hit the print button).

We're currently using a .fdf "solution" to handle this, but we're starting to get negative feedback from customers who can't open files with this extension. I'm not sure why they're having trouble, but I can't reproduce the error. Still, if there's a way to reset the form when it's opened or closed just using Acrobat Pro and some JavaScript, that would make me a very happy camper.

our .fdf looks like this:
Code:
%FDF-1.2
%
1 0 obj
<< 
/FDF << /JavaScript << /After (this.resetForm\(\))>> 
/F (http://myFormsServer.pdf)>> 
>> 
endobj
trailer
<<
/Root 1 0 R 

>>
%%EOF
Maybe this is the wrong place to post? If not here, where? I've hit my usual help-seeking haunts including (of course) google already and come up dry (although I'm behind a fairly strict firewall so I can't put the word "hack" into a search string). Maybe I missed it when I searched SPF?