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

Validate Day of Week?

Avatar

Former Community Member
I think this is a simple one (but I can't find an answer, which worries me): Is there a way to use javascript or formcalc to validate that the date entered (or picked on the calendar) is a Monday?



I am building a form in LC8.0, and I would like my date/time field to trigger a validation error if the user picks any day other than a Monday.



Thanks!



Chris
0 Replies