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

Autopopulate then read only

Participant ,
Oct 07, 2021 Oct 07, 2021

Hi, I can name a textfield the same name on different pages. Enter text in one, exact text autopopulates.

 

I all the fields that autopopulate except the one on page 1 to become read only. Only way to change any of them is to use the field on page 1?

TOPICS
Windows
498
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

correct answers 1 Correct answer

Community Expert , Oct 08, 2021 Oct 08, 2021

You would need to give the first field a different name and use a script to copy its value to the other fields.

If the first field is called "Name1" and the others "Name" then use this code as the custom calculation script for the latter:

 

event.value = this.getField("Name1").valueAsString;

Translate
Community Expert ,
Oct 08, 2021 Oct 08, 2021

You would need to give the first field a different name and use a script to copy its value to the other fields.

If the first field is called "Name1" and the others "Name" then use this code as the custom calculation script for the latter:

 

event.value = this.getField("Name1").valueAsString;

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 ,
Oct 08, 2021 Oct 08, 2021
LATEST

I greatly appreciate this, thank you.

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