Highlighted

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

Avatar

02-07-2008

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.