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

Interactive PDF - Display value from another form field?

New Here ,
Feb 07, 2023 Feb 07, 2023

Copy link to clipboard

Copied

I have an interactive pdf with a list selection box; and because a user can select multiple selections;
is there a way to display the selections in another box or frame?
a user may select many of the values, i'd like to just be able to show what has already been selected
maybe a simple javascript to display the value?

TOPICS
How to , JavaScript , PDF forms

Views

98

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 ,
Feb 07, 2023 Feb 07, 2023

Copy link to clipboard

Copied

LATEST

You can show selections in text field.

If you want to show each selection in a new line, set text field to 'Multiline' and use this as custom calculation script of text field (change "List Box1" to your actual list field name):

var f = this.getField("List Box1").value;
if (typeof f == "object")
event.value = f.join("\n");
else
event.value = f;

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