Select to view content in your preferred language

how to clear the values in the relevant questions while using a secondary survey?

313
0
05-14-2024 11:20 AM
KerryKang
Frequent Contributor

Hello all, 

 

I built a secondary QA survey to allow an admin to review/update any of survey responses.

The survey has a few relevant questions and I cannot make it work the way I want. here is a situation.

 

Q9.1. is only visible when users select 'No' in the Q9.  In the first survey, a user answered 'No'  to Q9 and then put 'test' inQ9.1. and that's what I see in my secondary survey.

KerryKang_0-1715710417184.png

 

But in my secondary survey, I want to change Q9 to 'Yes'. (it won't be visible), and want any existing values in Q9.1. disappear. Since Q9.1. is not visible in this case, I cannot tell immediately if the existing value is deleted or not.

When I checked my feature layer after submission, Q9.1. still shows 'test' instead of empty cell.

 

Is there way that I can initialize the value to  null when the question does not meet the relevant criteria? I tested using both relevant and body::esri:visible but both do not seem working for what I was looking for.

 

Thank you.

 

Kerry

 

 

0 Kudos
0 Replies