Here is an outline of what I am trying to do in Survery123, but I reached a bit of a blocker at step 2.
Users:
Step 1 (done). Select their project name ('projectname') from a autocomplete select_one search function which gets data from an online feature layer. Done, see:
autocomplete search('findprojectname?url=https://services3.arcgis.com/Bb8lfThdhugyc4G3/arcgis/rest/services/service_4dc0ba5a63a041f1a474aa960dcc359a/FeatureServer/0', 'projectname')
Step 2 (stuck) Search or pulldata from the same online feature layer to get the corresponding project code (called 'unique_ID') for the matching project name ('projectname') which they entered in step 1. Not sure if this is done through search under appearances or a calculation I've tried both and ot hasn't worked.
Step 3 (done) Concatenate the project code ('unique_ID') with today's date that is generated by using the now function to get an individual asset ID code which is read only. Done - see: concat(${'unique_ID'},"_",format-date(now(), '%y%m%d%H%M'))
I want them to have the option of using the project name which is more memorable to aquire the project code which will be less memorable. To make the survey more user friendly.
Thank you, hope someone can help.
Best wishes,
Heather.