Skip to main content
Usman98A4
Participating Frequently
November 3, 2021
Answered

Dependant Drop Down List Not Working on Browser

  • November 3, 2021
  • 1 reply
  • 1084 views

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

This topic has been closed for replies.
Correct answer Amal.

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

1 reply

Amal.
Community Manager
Amal.Community ManagerCorrect answer
Community Manager
November 9, 2021

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

Usman98A4
Usman98A4Author
Participating Frequently
November 9, 2021

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.

Amal.
Community Manager
Community Manager
November 13, 2021

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