Select to view content in your preferred language

Conditionally Required Repeated Question

237
2
Jump to solution
03-06-2024 07:14 AM
spf999
by
New Contributor II

Hello, 

I am trying to make a repeated question conditionally required based off a prior response and I am stuck. Right now, I have the format set up that the number of sample replicates answered is how many times the field "Replicate Names" appears (repeat_count column = ${sampinfo_reps}). I need to keep this repeated format to ensure I can record all replicate names. However, I only want the questions {sampinfo_repnames} to be required if the response to the prior question ( {sampinfo_reps} ) is >1.  Attached is my XLS form as it stands. survey123help1.pngsurvey123help2.png

0 Kudos
1 Solution

Accepted Solutions
Nicole_Ueberschär
Esri Regular Contributor

Do you mean relevant or required? For required you have to create an output that equals to "yes" when a condition is met, like if(${sampinfo_reps} >1,'yes',''), for relevant it is only ${sampinfo_reps} >1.

View solution in original post

0 Kudos
2 Replies
Nicole_Ueberschär
Esri Regular Contributor

Do you mean relevant or required? For required you have to create an output that equals to "yes" when a condition is met, like if(${sampinfo_reps} >1,'yes',''), for relevant it is only ${sampinfo_reps} >1.

0 Kudos
spf999
by
New Contributor II

I suppose both. You solution worked for my needs, thank you! 

0 Kudos