Previous | Next | (P-PDF) Forms & FDF
Topic: Re: Data is being retained
Conf: (P-PDF) Forms & FDF, Msg: 63794
From: Mark Babb
Date: 5/29/2002 06:07 PM
On 8/8/2001 3:18:20 PM, dug wrote:
>Document-->Set Page
>Action-->Page
>Open-->Add-->JavaScript-->
>
>//CODE BEGINS
>this.resetForm();
>//CODE ENDS
>
>--Doug
>
>>>> listmanager@forum.planetpdf.com 08/08/01 02:47PM >>>
>From: "Christian"
>
You may want to put this in your page action open script
if (!bReset) {
this.resetForm();
bReset = true;
}
And in you Document level function script put
var bReset = false;
Otherwise, if your form as multiple pages, anytime you
move from page to page, all of you fields will reset.
This will test for that condition, and prevent this from happening.
Thanks
Mark
>--- Planet PDF Forum |
>http://forum.planetpdf.com
>----
>
>I recently created a form and
>the data, after the browser is
>closes, is =being retained in
>the form from the previous
>entry. I have inserted a
>=hiddent field that has an
>onFocus and onBlur action to
>reset all fields, =but it
>still isn't working. Is there
>a way I can clear all fields
>upon =opening the file.
>Thanks.
>
>
>------- Planet PDF Store's Top
>10 List for May ---------
>
>ARTS Split and Merge - Stamp
>PDF - Jaws PDF Creator
>Gemini - Amyuni PDF Converter
>- Crackerjack - BCL Drake
>iCopy - ARTS Import - Mapsoft
>Impress Stamper
>
>Find out why these were the
>best-selling products last
>month. Free demos of each at
>the Planet PDF Store!
>http://www.pdfstore.com/
>
>---- Powered by
>BinaryThing.com &
>www.PlanetPDF.com ----
>