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

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

276

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

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 ,
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

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

Copy link to clipboard

Copied

LATEST

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

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