format DateField

eugzl

15-03-2018

Hi All.

In my form I have Date3 and Text1. The Date3 has patterns display like MM/DD/YYYY and exit event code

Text1 = Num2Date(Date2Num(this.formattedValue, "MM/DD/YYYY"), "YYYY")+1

When I selected date in Date3 display 03/15/2018 and Text1 will display 2019. How to display in both field after selection date only YEAR?

Thanks.

[Question moved to the LiveCycle Designer forum]

Answers (0)