Survey was created in Survey123 Connect 3.23.48. Expected behavior is these skipped, required questions will be highlighted when user attempts to submit a survey, not prior to submitting. Required questions without a relevant expression are not getting highlighted prior to submitting. This error is occurring to questions both in and out of pages/groups and in different browsers.
Solved! Go to Solution.
I reached out to ESRI Support and this error has been logged as a bug.
Bug number: BUG-000178954
Synopsis: Required questions with a relevant expression immediately display the warning message before submission in ArcGIS Survey123 Web.
Workaround:
o Downgrade to ArcGIS Survey123 Connect 3.22.
o Move the calculation or expression from the Relevant column to the body::esri:visible column
The workarounds were successful in resolving the error.
Hi @N_Funi , hmm tricky
Could you try to tie required to the same condition as relevant?
This ensures the question is only “required” when it’s actually relevant, preventing early highlighting.
Hope that helps
@Leena_Abdulqader Thank you for your suggestion, I tried adding the relevant condition to the required column following your example and I was thrown a error- "cannot handle function 'required' ". I tried using the same expression in the required column as in the relevant column and it did publish but the question was still highlighted in the same way as an error in the webform... as far as I can tell the only values allowed in the required column are yes or blank
Not an optimal solution but I have seen this question serval times recently and just thought of this. You can make conditional requirements. Maybe you could try setting all the requirements conditionally required on the last question on your form being filled in and just have that one be required all the time. So once the user fills in the last and only "required" question on the form, the rest of the questions become conditionally required, and this should stop the immediate highlighting.
That last question may still be highlighted though depending on your setup? Also not sure how this would work with repeats?
Hope that makes sense
I reached out to ESRI Support and this error has been logged as a bug.
Bug number: BUG-000178954
Synopsis: Required questions with a relevant expression immediately display the warning message before submission in ArcGIS Survey123 Web.
Workaround:
o Downgrade to ArcGIS Survey123 Connect 3.22.
o Move the calculation or expression from the Relevant column to the body::esri:visible column
The workarounds were successful in resolving the error.