Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

how to populate set of fields by change value in datefield

Avatar

Level 5

Hi All.

The form has 2 DateFields and some TextFields. When user selected date Date1 that field will populate field Date2. How to populate TextFields if Date2 got value from Date1?

Thanks.

3 Replies

Avatar

Level 7

I have found that when you give a value to another field that you want to then pass onto another that it wont do it as the other field has not had focus for the event to execute.

If you want to populate Date2 and a TextField, you might have to set the rawValues for both in the change event for Date1.

Avatar

Level 5

Thanks. I got decision. It will work if use exit event not change.

Avatar

Level 7

No problem, should be able to do the same in most events.