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

How do you setup a numeric field to display dates

Avatar

Level 3

I am trying to set numberic field to display the date that the user submits the form and the date will be permanent.

Thanks

1 Reply

Avatar

Level 10

You can/should use a date field instead a numeric field.

Set it access to protected by default and enter this FormCalc script into the preSubmit event of the field.