Is it possible to click a box in a series of available answers and have the number of the box selected show up in a different field in the PDF?

New Here ,
May 15, 2019 May 15, 2019

Copy link to clipboard

Copied

Working with a series of multiple questions, when an answer box is selected, is it possible for the number of the box clicked on to show up in a different area on the page?

TOPICS
Acrobat SDK and JavaScript, Windows

Views

128

Likes

translate

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 ,
May 16, 2019 May 16, 2019

Copy link to clipboard

Copied

Hi lynneinSparks,

If got you correctly, then you are willing to create a conditional form where while selecting a particular answer box another box should be populated, and that would have the number of the box selected as answer?

This is something that might not be simple to achieve directly, it would require JavaScript. Moving your query to JavaScript space. Our experts might be able to help you with the same.

Thanks,

Akanchha

Likes

translate

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 Community Professional ,
May 16, 2019 May 16, 2019

Copy link to clipboard

Copied

Yes, but how it's done depends on what you mean by a "box in a series of answers". 

Do you mean radio buttons? or Checkboxes ?  And by "different field" do you mean a text field?

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

translate

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 Community Professional ,
May 17, 2019 May 17, 2019

Copy link to clipboard

Copied

It's easy to do without any JavaScript, see this example document: https://abracadabrapdf.net/parking/AcroUsers/Sum-radioboxes.pdf

Likes

translate

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