Tiffany Lafarier 1082 days ago
Ok I changed the name of my fields so there are no spaces but I cannot change the names in the drop down.
Here's my new script...
if (xfa.event.newText=="CHILD CARE CENTER")
Tiffany Lafarier Commented 1081 days ago | Report
Don't put quotes around the field name. Like this
Thom Parker Commented 1081 days ago | Report
When I try to check it in the console it tells me substructuretotal is undefined.
So do you have an AcroForm or a LiveCycle form?
Thom Parker Commented 1080 days ago | Report
It's an AcroForm I'm guessing because I'm using Adobe Acrobat Pro to create it.
Tiffany Lafarier Commented 1079 days ago | Report
Ok then, you are using the wrong scripting model. Read this article for the AcroForm list code.
Thom Parker Commented 1079 days ago | Report
You might want to read this article:http://acrobatusers.com/tutorials/why-doesnt-my-script-work
Acrobat XI trial
Get the trial now
Last 30 Days
The Acrobat User Community is where you can connect with Acrobat and Adobe Document Services peers and experts. If you use Acrobat, Reader or EchoSign, you'll want to take advantage of the many free community resources like tutorials, tips, and Q&A to learn more about Acrobat and document services.