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

show and hide field based on checkbox

Avatar

Level 3

I have the below structure in a dialog.

Dialog

    ----Multifield

              ----checkbox

              ----textfield

Checkbox and textfield inside the multifield. 

By default checkbox is disabled, textfield should be hidden.

When checkbox is enabled, textfield should be shown.

 

Please help me with this. Thanks in advance

 

3 Replies

Avatar

Level 3

Want to show and hide the field based which is inside a multifield.

Currently, on enabling the checkbox in mutifield1, the textfield in both multifield 1 and multifield 2 gets disabled.

Expected: On enabling the checkbox in mutifield1, the textfield in multifield 1 should be disabled. Textfield in multifield 2 should remain as is.

 

Please help!

 

 

Avatar

Level 2

Having the same issue, did you find any solution to this?