PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________
Did you define oFromSelect anywhere?
Or did you define it in a way that the script does not see it (what would be a variable definition scope issue).
Max Wyss PRODOK Engineering Low Paper workflows, Smart documents, PDF forms CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37 or +1 815 425 6566 e-mail: mailto:[EMAIL PROTECTED] http://www.prodok.com
[ Building Bridges for Information ]
______________________
Shameless Plug:
My next conference appearances and workshops:
• Conference presentations at the 2004 Symposium of the BFMA, May 23 to 27 in Reno, Nevada (http://www.bfma.org) and pre-/post-conference workshop, May 22/23 and 27, organized by essociates Group (http://www.essociatesgroup.com/AdvancedAcrobatForms.htm)
• And, as always, available for on-site workshops/tutorials/consulting.
_________________________
I did change the script as shown below.
I do get an error that says: ReferenceError: oFromSelect is not defined.
Does that mean that telling me that I will need to define all 83 values from
the sponsor field? Sponsor is the list box from which users can choose up
to 3 values
Kenn
var fieldOne = "sponsor.";
for (sponsor = 0; i < oFromSelect.options.length; i++) { if (oFromSelect.options[i].selected) {
var selection = "dmm1 && .";
if (dmm1.value == "") dmm1.value = selection;
else if (dmm1.value != "" && dmm2.value == "") dmm2 = selection;
else if (dmm1.value != "" && dmm2.value != "" && dmm3.value == "") dmm3 = selection;
else app.alert("All fields are full"); } }
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfforms.html
