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

Populate same text from dropdown list

Community Beginner ,
Feb 18, 2023 Feb 18, 2023

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
1.4K
Translate
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
1 ACCEPTED SOLUTION
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'.

View solution in original post

Translate
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 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'.

Translate
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
LATEST

Thank you so much Nesa. 

 

Translate
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