Skip to main content
Participating Frequently
June 4, 2021
Answered

Link Date Boxes Script

  • June 4, 2021
  • 1 reply
  • 710 views

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 :).

 

Thank you 

This topic has been closed for replies.
Correct answer Nesa Nurani

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

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

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
June 4, 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;

Participating Frequently
June 4, 2021

That did it! Thank you 🙂