Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

102

Likes

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

Adobe Community Professional , 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;

Likes

Translate

Translate
Adobe Community Professional ,
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;

Likes

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 🙂

Likes

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