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

check box for "all dates the same" and then need to fill in one date and auto fill other four

Avatar

Level 2

Is it possible to have a checkbox to indicate that all the dates are the same and then fill in the first date and have the next 3 date cells be filled.  I can do this if you click on checkbox after entering the first date.  But I need to change it so you don't have to click again after entering the first date.  Any ideas?

Thanks.

Christina

2 Replies

Avatar

Level 7

Override the change event of the first date field object, and write a script to do the same thing as when the checkbox is checked.

Avatar

Level 2

Thank you for your response. So is that essentially making the checkboxes “radio buttons”. I am just learning about those. Thanks. Christina