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

Autopopulate then read only

Participant ,
Oct 07, 2021 Oct 07, 2021

Copy link to clipboard

Copied

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

Views

428

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 , 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;

Votes

Translate

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

Copy link to clipboard

Copied

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;

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

Copy link to clipboard

Copied

LATEST

I greatly appreciate this, thank you.

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