can we bind two xml values to one form field. | Community
Skip to main content
New Participant
May 13, 2022
Question

can we bind two xml values to one form field.

  • May 13, 2022
  • 0 replies
  • 513 views

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:

subform1
Name<First Name><Last Name>
subform2
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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.