I am working with Form where we have a repeatable subform inside that one form field(Text field) should appear with Two Xml node values dynamically.
ex:
xml:
<Name>
<FirstName>surya</FirstName>
<LastName>Varma</LastName>
</Name>
<Name>
<FirstName>santosh</FirstName>
<LastName>Varma</LastName>
</Name>
Form Field:
subform | 1 |
Name | <First Name><Last Name> |
subform | 2 |
Name | <First Name><Last Name> |
where subform 2 will create dynamically w.r.to XML data when we have repeated <Name> tags
we can implement a script to show the data by using concatenation of two fields for subform 1, But when the subform repeats second time the same script will run again and gives same values as given for 1st subform.
I need subform 1 contain - Surya varma
subform 2 contain - Santosh Varma
any help?