function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Laura BejjaniLaura Bejjani 

Building a questionnaire based on picklist values

I'm building a questionnaire form that shows and hides the customer questions depending on values they select from a picklist on the case object. So when the customer is creating a new case if they select value A they get asked the questions where the type = A. I created a Question object with a type picklist because I didn't want to overload the case object with a 100 questions. What kind of relationship do I need to create to only show Questions of type A on a case when A is selected in the picklist? 
Deepali KulshresthaDeepali Kulshrestha
Hi Laura,

In order to build your survey, you can create a global picklist value set. You can create it like this. Please follow the following link as they may be helpful in solving your issue:
https://customers.internetcreations.com/KnowledgeDetail?name=How-To-Use-a-Global-Picklist-Value-Set-in-Simple-Survey
https://www.internetcreations.com/documentation?id=a1L40000000KvrZEAS

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha