PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

Hello,

I need help for the following problem:

I have a PageOpen Script, which should only run through oncce, because it
has,  among other things, the task to add or remove (in another form) a
template, hidden fields, which are not necessary after the time, that the
script run
through and so on. I need a possibility, that the script only can work once,
and then it should be blocked. 

My idea to deal with the problem was the following, I added a text field as
a counter with the name "Anzahl" and the basic value 0, to deal with the
problem, and added a request at the beginning of the script:

var Page = this.getField('Anzahl');
PageOpen = Page.value;

if(PageOpen < 1)
{

PageOpen++;

....

}

but that's not the best solution. Every time I open the form make changes in
the form or the xfdf document, the script runs through, the fields are
hidden, the value in the text field must relocated and so on before I can
save the
forms and the xfdf-contents, in which the value is also included. Can I
solve the problem with another solution?

Best regards



-- 
NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse f�r Mail, Message, More! +++


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to