UI policy to clear question values

Venkat122
Kilo Guru

Hi,

 

I have to configure a survey with some questions depending on the response to other questions.

 

I leveraged "Depends on" functionality, but we wanted to clear the questions if the user is selecting one option and then changing to other option

3 REPLIES 3

Kavya06
Tera Contributor

Hello Venkat,

Were you able to resolve the issue? Even I have a similar kind of functionality, but I want my pervious answers to be cleared out if the user is selecting one option and then going back and changing to the other option.

Thank you.

Armando4
Tera Contributor

Hi all,

I have similar issue.

For example, I have a survey with 2 or 3 level of dependencies and when i select the last answer and then go back to the first, the previous answers are not cleared and it's very confusing for the user.

No patch is planned? Or workaround?

 

Thank you

harshav
Tera Guru

Frankly speaking no idea on whether we can handle the show/hide with UI policies but you can write a business rule (asmt_metric_result) on this table to clear out the values if that is not required.

 

I want to add my cent, i wrote some code 5 years ago on assessment_take2 UI page to make it work which i don't remember right now since out of touch with jelly script. please give a try on it.