I want to add the surveyor's username into a field.
How can I pick up the username?
You can use the property function to access the username if you want it in a visible field - see the 'Device and user properties' section in Prepopulate answers—Survey123 for ArcGIS | ArcGIS
The using Survey123Connect, the easiest way to do this is to add a field of type username to the survey- the field will not be visible, but will record the username. Refer to the 'Question Types' section in XLSForm essentials—Survey123 for ArcGIS | ArcGIS That being said, Survey123 uses a feature call editor tracking (Editor tracking for feature services—Documentation (10.3 and 10.3.1) | ArcGIS for Server ) that automatically records the username (and date & time) of when a survey is submitted.
Again, thanks for the reply James.
How can I get the Username to display on the survey though?
If the field is turned to readonly=yes, will it appear in the report?
The readonly attribute shouldn't have any bearing on the report - that's only to indicate that the field is readonly in the collection phase.
Retrieving data ...