Hello,
I am trying to make a few questions from my survey to have the volume/area input required if the repeat has been answered. I have tried something based on the threads below, but I was able to make the area/volume conditionally required if a certain value from the repeat is selected, not if anything is chosen from that repeat. Does anyone know how I can achieve something like this?
I found the following thread with the same topic, but I wasn't able to resolve my situation based on them. The threads are: https://community.esri.com/t5/arcgis-survey123-questions/make-a-question-required-conditionally-base... https://community.esri.com/t5/arcgis-survey123-questions/required-conditional-questions-survey-123/m...
Attached is the current xlsx form of my survey.
Thanks in advance for any tips/suggestions!
P.S. If more details are needed, please let me know.
Solved! Go to Solution.
You have this formula selected(${nextrequired},"yes") but no field called nextrequired?
In general though to check for any value you can do ${somefield} != '' or string-length(${somefield}) > 0
Hope that is what you were looking for.
You have this formula selected(${nextrequired},"yes") but no field called nextrequired?
In general though to check for any value you can do ${somefield} != '' or string-length(${somefield}) > 0
Hope that is what you were looking for.
Hi @DougBrowning,
Thanks a lot, the formula "string-length(${somefield}) > 0" was exactly what I needed.
As for that nextrequired field, I forgot to delete it after I saw the thread in the Community.