grayout a choice in a multiple choice question | XM Community
Skip to main content

Greetings, 

 

I am building a registration form for session. I would like to be able to grayout if time conflic would happen..

 

For example: 

Session 1 from 0900 - 1000 

Session 2 from 0900 - 1000 

Session 3 from 0930 - 1000 

 

If the registrant has selected Session 1. Session 2 and Session 3 will be grayed out. 

 

Any thought? 

Greetings, 

 

I am building a registration form for session. I would like to be able to grayout if time conflic would happen..

 

For example: 

Session 1 from 0900 - 1000 

Session 2 from 0900 - 1000 

Session 3 from 0930 - 1000 

 

If the registrant has selected Session 1. Session 2 and Session 3 will be grayed out. 

 

Any thought? 

would you want to lock the selection or Would they be able to switch their selection eg. if someone selects session 1 session2 3 grey out and they cant switch to a different option. if not then you can just use the single answer multiple choice question with radio buttons


@agabdulaziz - You can use JavaScript to disable the checkbox button associated with Session 3 when Session 1 is selected. It seems like this would become very complicated, very quickly. Every time something is selected or deselected you’ll have to check for conflicts or lack of conflicts across all choices.


Hi @agabdulaziz, I am assuming that by grayed out you meant to say only to change the color of options which are not selected and not disabling them for selection. 

Please review this link for details.

 

 

Thanks,

JB


Leave a Reply