Select to view content in your preferred language

Survey123 web app field calculation

4273
15
Jump to solution
08-11-2021 05:20 AM
Alba_Page
Emerging Contributor

Hi everyone!

I think I'm missing something and maybe any of you can enlighten me.

I've seen this video of the past UC (https://uc2021.esri.com/live-stream/19775151/ArcGIS-Survey123-An-Introduction-and-Whats-New) and I understood that the filed calculations are already available the Survey123 web designer.

Alba_Page_0-1628684213546.png

I've also seen this Story Maps with the same information in the What's new section (https://storymaps.arcgis.com/stories/213b214a74a0489dae915ab46677adf1)

But when I try to do it myself the option is not available neither the hide field option.

As I said, probably I'm missing something, but I don't know what 🙂

 

Thaks a lot in advance!!!

 

Alba

0 Kudos
15 Replies
IsmaelChivite
Esri Notable Contributor

Hi Kevin. That is right. At this moment, the web designer  does not let you use data from a dropdown question in a calculation. This is something that we will resolve in the future. In the meantime, you will need to use Survey123 Connect.

KevinMWright13
Regular Contributor

As always - thank you for the quick response.  Thanks for confirming my suspicions.  We will use Connect for this one.

I also just want to say thanks for all the great additions to the Web Designer that your team has implemented lately.   Great tool already, better with every iteration.

Kevin Wright
Data Visualization Enthusiast
0 Kudos
ZachESpencer
New Contributor

Hi Ismael,

I'm actually working along with Kevin on this and wanted to chime in a thanks for the quick response and also mention that if there were a way we could concatenate the date into a contrived field as well it would be pretty sweet. Thanks!

0 Kudos
ZhifangWang
Esri Regular Contributor

@ZachESpencer,

Would you mind sharing more details for how you want to utilize the date info? For example, concatenate a date from Date question into a string like "Incident observed on 4/28/2022"? Is that important to control the date format or just use default (like in the example) is enough?

0 Kudos
KevinMWright13
Regular Contributor

As far as the date formatting, that sure would be nice, but please don't let it get in the way of releasing a first version, if the formatting is an issue.

 

thanks as always!

Kevin Wright
Data Visualization Enthusiast
0 Kudos
KevinMWright13
Regular Contributor

Hi @ZhifangWang,

Absolutely - and thank you for asking.  In my case, our organization has several sub orgs.  We have those sub orgs in a Dropdown.  The user selects which sub org they are a part of.  We want to use that sub org, the current date and their name to create a ticket number.

where:

AGENCYABC_ joins<sub-org>joins<date>joins _  joins<username>

such that the ticket number looks something like:

USDHS_CARR04292022_KWRIGHT

I hope that is helpful.

 

Kevin Wright
Data Visualization Enthusiast
0 Kudos