Select to view content in your preferred language

Survey 123 pulldata expression: concatenate 2 string attribute fields

99
2
3 weeks ago
SueBoelk1
Emerging Contributor

I am new with XLSForms and with writing expressions in the calculate column.

Question:

How do I format a pulldata expression to retrieve 2 attributes from 1 feature and concatenate them? 

Ex: I have a layer with specific professional title attributes: "Dr. of Economics" in one attribute column.

The name of the person: "John Jones" is in the other attribute column.

I want to concatenate the title with their name "John Jones" to result in and display the name in the

Requestor field in my survey form: It should read: Dr. of Economics John Jones.

Thanks for our help.

0 Kudos
2 Replies
DougBrowning
MVP Esteemed Contributor

You have to set up 3 fields total.  1 for each pulldata and 1 for the concatenate.  You can set the bind::esri:fieldType column to null if you do not want these temp fields in the service.

SueBoelk1
Emerging Contributor

Thank you, Doug I will work on this and do more research on the process. 

I have an idea of the direction that I am going now.

Go Pack!