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.

visible/hidden based on ddl in subform instances in Dynamic block

Avatar

Former Community Member

I have a drop-down list on Subform,on selection of a field some fields should get visible/hidden , it is working fine with the first instance but in other instances it is not working. i have written the js code on exit event of the ddl. Please suggest how to get it function for other instances as well

4 Replies

Avatar

Level 10

Hi,

Are the other fields also in the same subform as the drop-down list?  I would guess you need to use a relative reference to the other fields but it is hard to say without seeing the form.  Can you publish it on Arcobat.com (or similar) and put a link in this thread for us to have a look.

Bruce

Avatar

Former Community Member

Hi Kunal,

Just to confirm..

1) Is the subform in which the drop down is placed is repeating subform or only one?

2) When you say instance, does it mean the instance of subform or selection on second time and there after?

Pls confirm.

Thanks,

VJ

Avatar

Former Community Member

i solved it.

bruce - same subform

VJ - Repeating subform,and instance of a subform

it was simple i made a little mistake earlier,which is rectified.