Skip to main content
Participating Frequently
October 11, 2024
Answered

Drop down menu not working when downloaded

  • October 11, 2024
  • 1 reply
  • 1495 views

I am having trouble with my drop down menu working correctly. I have written out the formula and it works because when I send it to someone they can use the dropdown menu and when they click the first drop down and select, the second one automatically connects to it. The issue is when I go to download it and start filling it out everything works other than the first drop down connecting to the second. I turned off the security part but its still not working. 

This topic has been closed for replies.
Correct answer try67

It suppose to do what the first picture is doing but when I put it in our sharepoint and someone downloads it, it does the second photo where the second drop down is not doing anything


The second screenshot shows that the file was opened in Chrome. Instruct them not to do that, but to save the file to their local computer, and then open it in Adobe Reader.

1 reply

PDF Automation Station
Community Expert
Community Expert
October 11, 2024

Please supply your script and the location (calculation, validation, etc.) and what is supposed to occur.

Participating Frequently
October 11, 2024

if(event.value == "Tamper-Evident Round")

this.getField("number1").setItems(["22314-8oz","22514-10oz","23514-12oz","25014-16oz","25015-16oz(oldIML)","26215-20oz(PIR)","26214-20oz","27514-24oz","21114-32oz","21560-48oz","22060-64oz","22570-84oz","LID20114","LID20170","LID20160"]);

else if(event.value == "SealPack Round Tall")

this.getField("number1").setItems(["22520-8oz","23120-10oz","23520-12oz","24020-14oz","25020-16oz","27520-24oz","21120-32oz","LID20120"]);

else if(event.value == "SealPack Round Select")

this.getField("number1").setItems(["22523-10oz","25023-16oz/18oz","26523-26oz","27423-27oz","27523-28oz","21223-32oz/34oz","20123-DOMEDOLDIML","LID20126"]);

else if(event.value == "SealPack Expo 410")

this.getField("number1").setItems(["22567-8oz-5sided","23567-12oz-5sided","25067-16oz","LID(FLAT)20124"]);

else if(event.value == "SealPack View 410")

this.getField("number1").setItems(["22566-8oz-3sided","22566-8oz-5sided","23566-12oz-3sided","23566-12oz-5sided","25066-16oz-3sided","25066-16oz-5sided","27566-24oz-5sided","LID(FLAT)20124","LID(EURO)20122"]);

else if(event.value == "SealPack Max")

this.getField("number1").setItems(["25021-16oz"]);

else if(event.value == "SnapPack Square")

this.getField("number1").setItems(["22531-8oz","23531-12oz","25031-16oz-5sided","25031-16oz","21151-32oz","21151-32oz-3sided","21351-40oz","21551-48oz-5sided","21551-48oz","LID20131","LID20151"]);

else if(event.value == "Tamper-Evident Rectangle")

this.getField("number1").setItems(["22585-8oz","23585-12oz","25085-16oz","LID20085"]);

else if(event.value == "TrustPack")

this.getField("number1").setItems(["22064-64oz","22564-84oz","LID20164","LID(FILMSEAL)20163"]);

else if(event.value == "Tamper-Evident Square")

this.getField("number1").setItems(["22595-8oz","23595-12oz","25095-16oz","21145-32oz","21545-48oz","LID20095","LID20145"]);

else if(event.value == "FreezePack Square")

this.getField("number1").setItems(["83861-1GAL","LID80061"]);

else if(event.value == "12 Series")

this.getField("number1").setItems(["60372-3.2L-nohandle","60385-1GAL-PlasticHandle","60383-1.1GAL-PlasticHandle","60383-1.1GAL-PlasticHandle","60383-1.1GAL-nohandle","60391-1.5GAL-nohandle","62329-1.3GAL-nohandle","60346-1012","LID-Hermetic-60378","LID-Hermetic-60398","LID-Hermetic-60353"]);

else if(event.value == "24 Series")

this.getField("number1").setItems(["61992-2L-Handle","61994-2.25L-nohandle","LID63481"]);

else if(event.value == "30 Series")

this.getField("number1").setItems(["61985-2GAL-nohadle","63043-4GAL-nohandle","61951-2GAL-PlasticHandle","LID63464-TearStrip","LID60344-SnapOn"]);

else if(event.value == "48 Series")

this.getField("number1").setItems(["61954-2.9GAL-PlasticHandle","61955-3.5GAL-PlasticHandle","61961-4GAL-PlasticHandle","61948-5GAL-PlasticHandle","LID-Hermetic-60337","LID-Hermetic-63300"]);

else if(event.value == "Industrial Series")

this.getField("number1").setItems(["61962-1GAL-PlasticHandle","61949-5GAL-MetalHandle","61949-5GAL-PlasticHandle","LID63488","LID63305-TearStrip"]);

else if(event.value == "InPack Series")

this.getField("number1").setItems(["63076-6.5GAL-PlasticHandle","LID63451-Hinged-White","LID63453-Hinged-Black"]);

else if(event.value == "Retail/Leaktite")

this.getField("number1").setItems(["5GL90-5GAL-MetalHandle","LID5GLD90"]);

else this.getField("number1").clearItems();

Participating Frequently
October 11, 2024

It suppose to do what the first picture is doing but when I put it in our sharepoint and someone downloads it, it does the second photo where the second drop down is not doing anything