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.

binding a single dynamic form field to an xml schema choice group

Avatar

Former Community Member
I am binding my dynamic field to an xml schema, but have run into a snag.

I was able to bind multiple data elements to a single form field using the following JavaScript:



// Concatenate the address information.



this.rawValue=$record.ReturnData.Form.Addresssline1.value + '\u000a' +



$record.ReturnData.Form.Addressline2.value;



however the schema I'm working with has many (choice groups) in it and I'm not able to use the same JavaScript. Is there a way to bind two or more data elements that are contained within a (choice group)?



Please help.
0 Replies