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?
Solved! Go to Solution.
Hi Joe,
The function is property('username') , not just ('username')
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?
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.
Thank You