Skip to main content
Participating Frequently
October 24, 2025
Question

Dependent/Branching Dropdowns

  • October 24, 2025
  • 1 reply
  • 75 views

Hello everyone,

So I've created a form with a dropdown that triggers separate, dependent dropdown to show a group of choices based on the selection from the driving dropdown. Everything works perfectly however, some sales reps report that the PDF form malfunctions with dropdowns not updating or freezing up.

 

Below is a snippet of the code looks like in the "Validate" tab's "Run custom validation script" field of the DRIVING dropdowns. The code is much longer than this with other entries, but generally consistent as you see. Again, everything works perfectly even though my form is very dense with many dropdowns and fields referencing others, all stitched together to produce one final summed Part# and Total Price.

I was forced for the moment to "dummy down" my form but it resulted in many more separate fields/dropdowns, and manual entries.

 

if(event.value == '4"x8"x48"')
this.getField("SPC1").setItems([['24" OC','24']]);
else if(event.value == '2"x5"x96"')
this.getField("SPC1").setItems([['24" OC','24'],['32" OC','32']]);
else if(event.value == '2"x5"x72"')
this.getField("SPC1").setItems([['24" OC','24'],['36" OC','36']]);

 

MY QUESTION IS: Could it be compatibility issue on a particular user's system? Where would the troubleshooting begin for something like this? I don't want to instruct users/clients to tamper with their settings, which may create other problems for them...

 

Thanks anyone in advance for some advice!

Rick T.

1 reply

PDF Automation Station
Community Expert
Community Expert
October 24, 2025

The first thing to verify is the PDF viewer they are using.  If it's a non-Adobe PDF viewer, including a web browser, the scripts might not be supported and cause issues.

Participating Frequently
October 24, 2025

Ok, Thank you.. good points!

 

-Rick T.