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.

change default date in datetime field?

Avatar

Level 2

Hi,

I am using datetime field. Every time when I want to choose some date from calendar, default day is current day.

Can I change this default date to some other then current date?

tnx, Adnan.

1 Reply

Avatar

Level 10

Hi Adnan,

I am fairly sure that you cannot access or change the behaviour of the date/time field to that extent. You can script the field to have a particular value or to be a constant from the date selected; but you cannot define the default value.

Happy holidays,

Niall