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.

Set value of a repeating field equal to the value of other repeating field

Avatar

Level 3

Sir,

 

I have a table of 2 columns and a repeating row (Row2)  of which Cell1 is a Dropdown field  and Cell2 is a Text Field   I have another subform which is also repeatable which as Textfield. 

 

Now i want that whenever user selects the Dropdown the same value should be set to the Textfield (in the Subform).  

if user adds 5 rows in the table and select value a, b,c,d,e in the dropdowns then the 5 textfield in the  subform should also be set to a,b,c,d,e 

 

attached is the actual AEM form    ... in this form i want "Raised By"    field to be always equal  to the dropdown field "Team. Member"   

https://www.dropbox.com/s/ywd7rdh00ywn4u1/Setting%20field%20value%20of%20repeatable%20form%20to%20ot...

 

Thanks

3 Replies

Avatar

Community Advisor

Hi @rakeshk21205956 

 

You need to write a custom handler which will execute on dialog submit and it should read the value that is submitted in the first field and update the second field when there is no value added in the second field.

Avatar

Level 3

Thanks for reply... but i didnot get what you said.....

attached is the actual AEM form    ... in this form i want "Raised By"    field to be always equal  to the dropdown field "Team. Member"   
.. 

 

https://www.dropbox.com/s/ywd7rdh00ywn4u1/Setting%20field%20value%20of%20repeatable%20form%20to%20ot...

Avatar

Community Advisor

Hi,

Is this related to AEM form? if yes then you can move this thread of dedicated AEM Form community

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/ct-p/adobe-experienc...



Arun Patidar