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

Drop Down List Export Value

Community Beginner ,
Jul 05, 2020 Jul 05, 2020

Not trying to do anything fancy, I just want the export value from a drop down list item to populate in a specific text box. I feel like it would be a fairly easy thing to do, but all the answers I've read so far are about Javascripts - is this necessary? How do you link the two fields? My drop down list is called "Support Item" and the text box is called "Support Item Number".

TOPICS
How to , PDF forms
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 Beginner ,
Jul 05, 2020 Jul 05, 2020
LATEST

Update - I was wrong to add it to Custom Format Script, I changed it to Calculate >  Custom Calculation Script and it is now working.

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 Beginner ,
Jul 05, 2020 Jul 05, 2020

Update - I've just added the following script to the text box properties (Custom Format Script);

event.value = this.getField("Dropdown List").value;

It is now displaying the export value of the first drop down item however it will not change when other items are selected in the list. How can I fix this?

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 ,
Jul 05, 2020 Jul 05, 2020
LATEST

Update - I was wrong to add it to Custom Format Script, I changed it to Calculate >  Custom Calculation Script and it is now working.

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