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

Link Date Boxes Script

New Here ,
Jun 04, 2021 Jun 04, 2021

Copy link to clipboard

Copied

Hi there everyone,

I'm trying to find a script that will grab the date inputed by the user in Date1 and have Date 2 display the same date.  Date1 and Date 2 are going to have different date formats for display purposes, Date 1 uses slashes and Date 2 will use dashes for its format.  Date 2 is going to be a read only.  Any help is much appreciated :).

Date1.PNG

 

Thank you 

TOPICS
Edit and convert PDFs , JavaScript , PDF forms

Views

384

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 , Jun 04, 2021 Jun 04, 2021

After you formated both fields to use format you want, as calculation script of second field use this:

event.value = this.getField("Date1").value;

Votes

Translate

Translate
Community Expert ,
Jun 04, 2021 Jun 04, 2021

Copy link to clipboard

Copied

After you formated both fields to use format you want, as calculation script of second field use this:

event.value = this.getField("Date1").value;

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
New Here ,
Jun 04, 2021 Jun 04, 2021

Copy link to clipboard

Copied

LATEST

That did it! 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