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

Script to remove Item/Values and Dropdown Items not loading correctly when requesting signature

Contributor ,
Jul 28, 2024 Jul 28, 2024

Copy link to clipboard

Copied

I have a Acrobat Form with a Dropdown field involved via its Export Value in a calculation script executed in a Text field.  Form fields work fine in Acrobat. When I request signatures, the dropdown Item selected reverts to the 1st Item listed in the Dropdown list in the Options tab. The only solution I've discovered is Deleting the Item/Values in the Option tab of the dropdown field and adding them to the field name per the Adobe tag guide and assigning to 'prefill' role, but this prevents accessibility to the dropdown when completing the form prior to sending for signature, and hence the calculation. Currently, my Acroform dropdown's Exported Value participates in the calculation prior to requesting signatures, so it's fine if I can find a solution to the following.

 

Is there a way to keep the original Item selected in the dropdown field's Option Tab in the Acroform to display in the SignForm dropdown field when requesting signatures? Or is there a scripted way to remove the Acroform's Items/Values listed on the field's Options tab prior to requesting signature?

 

Thanks in advance!- kemper

TOPICS
How to , JavaScript , Modern Acrobat , PDF , Security digital signatures and esignatures

Views

206

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 Expert ,
Jul 28, 2024 Jul 28, 2024

Copy link to clipboard

Copied

Do you have any duplicate export values?

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
Contributor ,
Jul 28, 2024 Jul 28, 2024

Copy link to clipboard

Copied

Yes, various decimals

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 Expert ,
Jul 28, 2024 Jul 28, 2024

Copy link to clipboard

Copied

Acorbat Sign forms have limited functionality when it comes to scripts. Unfortunately, this is not well described when converting a file to this format.

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
Contributor ,
Jul 28, 2024 Jul 28, 2024

Copy link to clipboard

Copied

Hey Try67! - do you know if Acrobat is having problems. Mine just quit working today. I've reinstalled twice, clearing my DNS cache and restarting computer before each re-install? And when I attempt to open a pdf file I get a numberless 'Internal Error' message. Any ideas to resolve? Files aren't corrupt, created using acrobat pro??? -thanks- kemper

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 ,
Aug 27, 2024 Aug 27, 2024

Copy link to clipboard

Copied

Hi @Kemper5F9B,

 

Following up to check if your issue with Acrobat is resolved or not. Let us know if you need help.
 
~Tariq

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 Expert ,
Aug 27, 2024 Aug 27, 2024

Copy link to clipboard

Copied

When get an internal error there is usually more information in the console.  Make sure Acrobat is open when you attempt to open the document because if the application doesn't open you will lose the console error messages (if any).

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 Expert ,
Aug 27, 2024 Aug 27, 2024

Copy link to clipboard

Copied

LATEST

"is there a scripted way to remove the Acroform's Items/Values listed on the field's Options tab prior to requesting signature?"

Yes:

var dd=this.getField("Dropdown");
dd.setItems([[dd.getItemAt(dd.currentValueIndices,false),dd.getItemAt(dd.currentValueIndices,true)]]);

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