Acrobat DC dropdown validation script not running
I have two dropdown fields "BusServiceType" and "D1Period1" in an Acrobat DC form.
I am trying to write a validation script to check "D1Period1" when "BusServiceType" equals a certain value.
The script is added to the Custom Keystroke Script property of both fields.
A simple "app.alert()" test works, proving JS can run.
But change detection scripts on the field value itself do not function.
Here is pseudocode for what I have tried:
Copy code
Steps taken:
- Confirmed field names match script
- Permissions set properly for scripts
- Tried on multiple documents
- Simplified logic greatly
No errors show in console. The script just seems to not run on value change.
Any ideas what could cause this or how I can troubleshoot further? Is there a limitation in Acrobat around custom field scripting?
Please let me know if submitting this on the forums could help escalate to Adobe! I'm happy to provide any other details.
Let me know if you need any changes or have additional details to include. Providing code samples and debugging steps done will help them diagnose potential causes.
