Select to view content in your preferred language

How to add name of user as default value in Survey123?

10697
13
Jump to solution
04-25-2017 11:27 AM
RebeccaFuda
Occasional Contributor

I am creating a survey for the purpose of collecting data when biological samples are collected from roadkill or other dead wildlife in the field.  Usually, the person collecting the sample will be alone and therefore will also fill out the form in Survey123.   However, sometimes one person will collect the sample while another person will fill out the form.   I would like to create a field called "Sampled by:" with a default value of the name of the survey user.  Is this possible in Survey123?

Tags (1)
0 Kudos
13 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Joe,

The function is property('username') , not just ('username')

JevitaWebster
Regular Contributor

i want to pre-populate the username but i don't want to have it shown on the survey. I just want to collect the data "username" when i run a report. Can this be done? 

0 Kudos
by Anonymous User
Not applicable

Hi Jevita,

Have you tried using the "username" question type in Connect. When signed in to ArcGIS Online or ArcGIS Enterprise, this field is automatically populated with the account user name. This question type is hidden and is not displayed on the form.

Phil.

0 Kudos
JevitaWebster
Regular Contributor

Thank You

0 Kudos