Copy link to clipboard
Copied
Hello All,
I am trying dependant dropdown list below is my script its working fine in adobe but not working in the browser. Can someone help me fix that?
var RampWidth = this.getField("Dropdown23");
var RampRise = this.getField("Dropdown29");
if (event.willCommit)
{
switch(event.value) {
case "900mm":
RampWidth.setItems(["Select Depth","200mm","240mm","280mm","320mm","360mm","400mm","440mm","480mm","520mm","560mm","600mm","640mm","680mm","720mm","760mm","800mm","840mm","880mm","920mm","960mm","1000mm","1040mm","1080mm","1120mm","1160mm","1200mm"]);
RampRise.setItems(["Select Rise","25mm","30mm","35mm","40mm","45mm","50mm","55mm","60mm","65mm","70mm","75mm","80mm","85mm","90mm","95mm","100mm","105mm","110mm","115mm","120mm","125mm","130mm","135mm","140mm","145mm","150mm"]);
break;
case "Select Width":
RampWidth.setItems(["Select Depth"]);
RampRise.setItems(["Select Rise"]);
break;
case "1000mm":
RampWidth.setItems(["Select Depth","200mm","240mm","280mm","320mm","360mm","400mm","440mm","480mm","520mm","560mm","600mm","640mm","680mm","720mm","760mm","800mm","840mm","880mm","920mm","960mm"]);
RampRise.setItems(["Select Rise","25mm","30mm","35mm","40mm","45mm","50mm","55mm","60mm","65mm","70mm","75mm","80mm","85mm","90mm","95mm","100mm","105mm","110mm","115mm","120mm"]);
break;
}
}
Thank You
Copy link to clipboard
Copied
Hi Usman
Hope you are doing well and sorry for the delay in response. I hope you would have fixed the issue by now. If it still exists,
Web browsers use their own PDF mechanism to render and display the PDF contents and are not very good with handling the interactive PDF forms. The ideal/suggested way is to download the PDF to your computer locally and then try to open it with Adobe Acrobat/Raeder DC application.
Hope this information will help
Regards
Amal
Copy link to clipboard
Copied
Hi Usman
Hope you are doing well and sorry for the delay in response. I hope you would have fixed the issue by now. If it still exists,
Web browsers use their own PDF mechanism to render and display the PDF contents and are not very good with handling the interactive PDF forms. The ideal/suggested way is to download the PDF to your computer locally and then try to open it with Adobe Acrobat/Raeder DC application.
Hope this information will help
Regards
Amal
Copy link to clipboard
Copied
Hello Amal,
There are some dropdowns that are not being visible also on browser's like Delivery, Delivery type , Funding body and forklift they all are dropdowns. Its seems like something is wrong.
Copy link to clipboard
Copied
Hi there
As suggested earlier, please download the PDF form to your computer locally and then try to open the PDF form and check.
Regards
Amal
Copy link to clipboard
Copied
Hello Amal,
I have the same issue in the browser. Could you please let me know if there is any way to make this work in browser? Maybe there is another way or place to insert a code or anything like this? Any workaround would help. Thanks
Copy link to clipboard
Copied
Hi there
The interactive PDF forms do not work as intended on web browsers, as Web browsers use their own PDF mechanism to render and display the PDF contents and are not very good with handling the PDF forms.
Hope this information will help.
~Amal
Find more inspiration, events, and resources on the new Adobe Community
Explore Now