Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

I need a button to display the date and time


Level 3

I want the date and time to display in a textfield. I am thinking the best way to go about this is to have a hidden button in the field, so that when the user clicks in the field the date and time will automatically appear. I need help with some code (not really sure of how the code should look). Should the code go in the click or initialize event?

Thanks for your help

1 Reply