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

Hi List, I have a little problem with required fields as follows:

A PDF contains abaout 600 Formfields with about 150 fields who are
required. Further it contains a button faced "SAVE", a button "SEND" and
last not least a button "PRINT".

The button "SAVE" leads to a submit to the web server, after all form
field properties have bin set to required==false ( problem is solved )

The button "SEND" leads to another script, in which I check first, if
evrey single required field is really filled with, lets say "something"
different than the default value. The little scripts with highlight and
setFocus are also solved.

The button "PRINT" leads to a hard copy on the local printer and should
also have no restrictions like required fields. This little problem is
also solved.

Now we come to the point: The Form filler uses an Acrobat Reader,
Version 4.0 and wants to save sometimes the document, before he reaches
the last page of the form. But at the end, he will use the "SEND"
button. The recipient of the form, on the other site, wants to get a
really valid form. To reach the goal with the ability to save different
versions of the filled form, we set the field properties to
required==false, but at the end, we want the Acrobat to check every
little required field.

My idea is something like: generate an array of all required fields via
script, when the "SAVE" button is used the first time and store the
array into a virtual field (display.hidden) somewhere in the document.
If the Formfiller uses the "SEND" button, an other little dirty script
checks via the hidden array field all originally required fields, if
they are "used" by the Formfiller. (Something like simulating the
property required)

Sounds so easy and is so hard, isn't it??? (only for me ..?)

Thnaks for your ideas ...

Mit freundlichen Gr��en

Olaf Rohstock

Dumstorf 14
21368 Dahlenburg

FON: 05851 - 944 744
FAX: 05851 - 944 745
[EMAIL PROTECTED]


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

Reply via email to