Expand my Community achievements bar.

Problem in Default Binding

Avatar

Level 1

Hi,

     I need to set default binding to a text field in my xdp.

For me i have to bind two xml tags for a single text field. That is i have to bind these two tags <Firstname> and <LastName> to the Name textfield,

Is there any possibility to bind the two tags for a single textfield withoug writing javascript?

Can we set any conditions in the default binding tab?

Thanks in Advance

Kruthi

1 Reply

Avatar

Former Community Member

Each field can only have 1 binding. So you can create hidden fields for each of the nodes (FirstName and LastName). Then you can use javascript to add the two fields together to populate your field.

Paul