Survey Design - Card Layout - Section skip logic

LabKey Support Forum
Survey Design - Card Layout - Section skip logic rita alves  2020-08-07 07:39
Status: Active
 

Hello,

In case i am doing a survey design with a card layout. Is it possible to hide section based on an answer to a question in a different section?

Thank you in advance!

 
 
chetc (LabKey Support) responded:  2020-08-21 17:04
Status: Closed

Hello,

I'm not sure if this is possible. There is a section property that you can use to disable a section when in card layout. initDisabled is what you would want to modify. Lets say you have a survey with two sections each containing some questions. In section 2 you can attach a listener to one of your questions that listens for changes from a question in section 1. So having questions affect other questions across sections is possible but I'm not sure if you could attach a listener to section that listens for change from a question. You should try and play around with that initDisabled property, and I can see if the devs have any suggestions.

Thanks,
Chet