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

ADDING TEXT TO INPUT

Participant ,
Dec 09, 2023 Dec 09, 2023

Good Day, 

 

          I am looking to add the word "input" in a separate text box. Example, if I put Boss in the initial text box, the other text box would display "Boss Input". 

 

My initial box is C.O.C. ROSTER.0

The other box is C.O.C. ROSTER 1ST

 

I thought I new what was was doing as always and um yeah didnt work out for me. Thank you for your help in advance. 

TOPICS
PDF , PDF forms
776
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 ,
Dec 10, 2023 Dec 10, 2023

As validation script of the first field, use this:

var f2 = this.getField("C.O.C. ROSTER 1ST");
f2.value = event.value == "" ? "" : event.value + " Input";

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 ,
Dec 10, 2023 Dec 10, 2023

As validation script of the first field, use this:

var f2 = this.getField("C.O.C. ROSTER 1ST");
f2.value = event.value == "" ? "" : event.value + " Input";

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
Participant ,
Dec 10, 2023 Dec 10, 2023
LATEST

Thank you so much. 

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