• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dependant Drop Down List Not Working on Browser

Community Beginner ,
Nov 03, 2021 Nov 03, 2021

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;
}
}Capture12.JPG

 

Thank You

TOPICS
Create PDFs , JavaScript , PDF forms

Views

425

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 09, 2021 Nov 09, 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

Votes

Translate

Translate
Adobe Employee ,
Nov 09, 2021 Nov 09, 2021

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 09, 2021 Nov 09, 2021

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.Capture12.JPG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 12, 2021 Nov 12, 2021

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2024 Feb 12, 2024

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 13, 2024 Feb 13, 2024

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines