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

Date Across Multiple Pages

Explorer ,
Aug 25, 2020 Aug 25, 2020

I am sure this is very simple, but I have a Date field on all my pages of the form.

What I am looking for is that when the date is entered on page 1, it displays on all subsequent pages with no tab to it on those pages.

TOPICS
Acrobat SDK and JavaScript
669
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 ,
Aug 25, 2020 Aug 25, 2020

Use the same name for the fields.

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
Explorer ,
Aug 25, 2020 Aug 25, 2020

I am aware of that, but I do not want the field to me modified.  Currently tabbing to it I can make changes and I want it locked with the data from the first date field.

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 ,
Aug 25, 2020 Aug 25, 2020

Then use different names and copy the value. Set the field of the copy as read-only.

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 ,
Aug 25, 2020 Aug 25, 2020
LATEST

Name first field "Date" and the other fields "Date_copy", for example. Then use this code as the custom calculation script for the "Date_copy" fields:

event.value = this.getField("Date").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