Hello,
I am having issues writing the code for a survey123 report template display certain characters from a repeating select_one field. I would like my template to display the text string after the first 8 characters. I currently have a table that displays the label in one column and the code in a second column. Both of these domain lists have 8 characters that I do not need displayed in the report. Below is the code that I use for getting the values to populate. I have haven't had any luck with trying to code a substr function based off of the Formulas documentation. Would someone be able to assist me with this?
wildlife observations:
${#widlife_observation_begin}${wildlife_observed}
${#widlife_observation_begin}${wildlife_observed | getValue:""}
Not sure but you could do it in the form in a hidden field then you can use it in other places also.
substr(question, start, end)
Returns the substring beginning at the specified start and extends to the character at index end -1, where start and end begin at 0.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.