Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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?