Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
George_JohnsonCorrect answer
Inspiring
October 10, 2016

What date would you like to be inserted?

3 replies

George_JohnsonCorrect answer
Inspiring
October 10, 2016

What date would you like to be inserted?

Translate
October 10, 2016

The current days date.

Translate
try67
Community Expert
Community Expert
October 10, 2016

Use this code as the text field's custom calculation script:

event.value = (this.getField("CheckBox1").value=="Off") ? "" : util.printd("mm/dd/yyyy", new Date());

You should change the name of the check box field to match the one in your file, and can also change the date format to something else, if you wish.

Translate