Tiffany Lafarier 1137 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 1137 days ago | Report
Don't put quotes around the field name. Like this
Thom Parker Commented 1137 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 1136 days ago | Report
It's an AcroForm I'm guessing because I'm using Adobe Acrobat Pro to create it.
Tiffany Lafarier Commented 1134 days ago | Report
Ok then, you are using the wrong scripting model. Read this article for the AcroForm list code.
Thom Parker Commented 1134 days ago | Report
You might want to read this article:http://acrobatusers.com/tutorials/why-doesnt-my-script-work
Get started withAcrobat DC
Start free trial
Everything you need to get started using the all-new Acrobat DC.
Learn more >
Last 30 Days