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

Populate same text from dropdown list

Community Beginner ,
Feb 18, 2023 Feb 18, 2023

Copy link to clipboard

Copied

Hello,

 

Is it possible for me to replicate the value from the drop-down list into different text fields as well? I have included an attachment. I included a drop-down list for schools that I needed to repeat on the lower text fields 3 and 4.

Thank you for your help,

Regards.

 

 

 

TOPICS
Create PDFs , JavaScript , PDF forms , Standards and accessibility

Views

1.1K

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 1 Correct answer

Community Expert , Feb 18, 2023 Feb 18, 2023

You can use this as 'validate' script of dropdown field:

this.getField("Text3").value = event.value;
this.getField("Text4").value = event.value;

If you don't want to click outside dropdown field to show result then in dropdown field properties, under 'Options' tab, check 'Commit selected value immediately'.

Votes

Translate

Translate
Community Expert ,
Feb 18, 2023 Feb 18, 2023

Copy link to clipboard

Copied

You can use this as 'validate' script of dropdown field:

this.getField("Text3").value = event.value;
this.getField("Text4").value = event.value;

If you don't want to click outside dropdown field to show result then in dropdown field properties, under 'Options' tab, check 'Commit selected value immediately'.

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

Copy link to clipboard

Copied

LATEST

Thank you so much Nesa. 

 

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