build a custom code to answer yes or no with a toggle button | XM Community
Skip to main content
Solved

build a custom code to answer yes or no with a toggle button

  • March 26, 2025
  • 2 replies
  • 37 views

Forum|alt.badge.img+2
  • Level 2 ●●
  • 8 replies

Hi!

I would like to build a Toggle Button for a Multiple Choice (allow one answer) or Matrix table where the response is either Yes or No.  Is this possible? If so, how.

 

 

Thank you

agrim

 

Best answer by Dukester

Here is how we accomplished this with a non-elegant non coding manner.

We created a “slider” question with two options Yes and No. See below…

 

This is the simplest way we found and it worked for what we wanted. 

2 replies

Dukester
Level 3 ●●●
Forum|alt.badge.img+6
  • Level 3 ●●●
  • 30 replies
  • Answer
  • April 15, 2025

Here is how we accomplished this with a non-elegant non coding manner.

We created a “slider” question with two options Yes and No. See below…

 

This is the simplest way we found and it worked for what we wanted. 


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 8 replies
  • April 16, 2025

Hi Dukester,

 

This is a great idea.   Thank you!