Hey guys,
I am creating a survey that takes temperature in 4 different aspects; air, surface, 'X depth' and 'Y depth'. We don't necessarily take the temperature of all the aspects of interest. So, I put this question type as 'multiple choice' in the XLSForm. I know that we have the cascading select feature. But in my case, how do I configure this question into a cascading text question? My workflow would be something like:
Temperature > Multiple choice selection: Air, Surface, X Depth, Y Depth > Choose one of the choice and have a cascading text question which I can fill in with the decimal numbers for temperature.
I know it's a little elementary but I couldn't find a question in the post that really matches to the feature I'd like to use. Any help would be totally awesome
P/S: I'm using Survey123 Connect for ArcGIS
Solved! Go to Solution.
Hi Azalea,
How about something like the following...
type | name | label | appearance | relevant |
select_multiple temps | temp_collected | Select the temperatures that were collected | minimal | |
decimal | temp_value_air | Enter Temperature Value for Air | selected(${temp_collected},'air') | |
decimal | temp_value_surface | Enter Temperature Value for Surface | selected(${temp_collected},'surface') | |
decimal | temp_value_x_depth | Enter Temperature Value for X Depth | selected(${temp_collected},'x_depth') | |
decimal | temp_value_y_depth | Enter Temperature Value for Y Depth | selected(${temp_collected},'y_depth') |
Choices sheet
list_name | name | label |
temps | air | Air |
temps | surface | Surface |
temps | x_depth | X Depth |
temps | y_depth | Y Depth |
Brandon
Hi Azalea,
How about something like the following...
type | name | label | appearance | relevant |
select_multiple temps | temp_collected | Select the temperatures that were collected | minimal | |
decimal | temp_value_air | Enter Temperature Value for Air | selected(${temp_collected},'air') | |
decimal | temp_value_surface | Enter Temperature Value for Surface | selected(${temp_collected},'surface') | |
decimal | temp_value_x_depth | Enter Temperature Value for X Depth | selected(${temp_collected},'x_depth') | |
decimal | temp_value_y_depth | Enter Temperature Value for Y Depth | selected(${temp_collected},'y_depth') |
Choices sheet
list_name | name | label |
temps | air | Air |
temps | surface | Surface |
temps | x_depth | X Depth |
temps | y_depth | Y Depth |
Brandon
Heya Brandon!
Thanks! It worked! It didn't at first and I was wondering why. It was cause the screenshot is cut-off. So, I did it as you suggested:
Worked like a charm!:
So, the relevant should be of the cascading decimal or text is:
selected(${name of the multiple choice question}, 'name of the choice')
Thanks! It's nice talking to you again