Hi, first off: I'm not a programmer.
I have created a repeating form based on an example that was downloaded from the adobe site and it uses javascript. I have modified it slightly to work the way I want it to. My dropdowns were created by adding the items to the object:field tab not by using scripting.
My problem:
I have three dropdowns on my subform and when I preview the pdf, they all display the instance number on the dropdown.
The dropdown list allows me to pick what I want but as soon as I exit the field it immediately returns to the instance number and does not retain my selection. (commit on exit)
I have no idea how to fix this problem. Is there anyone that can help me out? Thanks!
How is it that the instance number gets on the dropdown? This could only be done with a script, not necessarily on the dropdown element. You'll need to understand this to fix your issue.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script