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

Inserting Digital signature into Listbox

Community Beginner ,
Jun 24, 2020 Jun 24, 2020

Copy link to clipboard

Copied

Hello All,

what I'm trying to achive is to insert a digitial signature box/boxes into a listbox. The content is that a person would select a few groups that then need and then the javascript would then insert the required amount of digital signature boxs 

 

	AccessList.insertItemAt(cChoice, "s", 0);
	AuthList.insertItemAt("Director____________________________________" , "s", 0);
	AuthList.insertItemAt("Sign" , "s", 0);

	this.addField(cChoice, "signature");

 

the top 3 line works fine but i cant get the last line to work

i need some help please 

TOPICS
Acrobat SDK and JavaScript

Views

813

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 2 Correct answers

Community Expert , Jun 25, 2020 Jun 25, 2020

You can't add a field to a listbox.

Votes

Translate

Translate
Community Expert , Jun 25, 2020 Jun 25, 2020

As mentioned, that is not possible. What you can do, though, is create a separate Digital Signature field and then show it when the Sign option is selected (and hide it when it's not).

Votes

Translate

Translate
Community Expert ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

You can't add a field to a listbox.

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 ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

As mentioned, that is not possible. What you can do, though, is create a separate Digital Signature field and then show it when the Sign option is selected (and hide it when it's not).

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 ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

is there a possiable way to dynamicly add them to the page as required, rather then just hiding them and unhiding them

 

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 ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

Assuming the file will be used in Reader, no. Also, the effect will be exactly the same, only hiding/showing them is much easier than creating/deleting them. PDF files are not dynamic in this way. They don't "re-flow" when you add/remove fields.

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 ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

that makes it difficult as i have multiple different areas they can be selected from a drop down box with each area requiring different authorisation. my plan was to the the signature populate with the required person job title and then the signature field beside. 

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 ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

LATEST

You can still do that... The signatures can be overlapping until you decide to show them.

And you can use a text field to fill in the person's title, if you wish.

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