Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Working with StartDate and EndDate calendar fields

Avatar

Level 1

I have a LiveCycle form with two calendar fields,  StartDate and EndDate.  Whenever I open up either calendar they open up to today's date.  That is fine with the StartDate field, but if I change the StartDate to pick a date two months from now I would like the EndDate calendar field to open up to at least the same date as I chose in the StartDate field (not today's date).  Any help would be appreciated.

1 Reply

Avatar

Level 10

Hi there,

to do so, I suggest giving the EndDate field's value equal to the StartDate field's value in the enter event.

So once entering the EndDate field, you will have the start date's value displayed

Hope this help!