Unique Thank You page based on form checkbox

We have some yes/no properties and can get the value by {{contact.list_a}} for the proerty list_a

However we would like to switch some of the to a checkbox property and would still like to get the value. So I set a prpperty names TestCheckbox and {{contact.TestCheckbox}}does output a value. what should I be using to get the value of a checkbox?

Hi @jeremyg,

I am not sure I understand what you are looking to accomplish. Do you mind share some additional information regarding what your end goal is, how it is set up now, and where you are getting stuck?

The more information, screenshots and details you can provide, the better the Community can assist!

Thanks,
Jenny

So we currently write the value of a radio checkbox contact property type to the html with

<span id=“contact-list-x” style=“display:none;”>{{contact.list-x}}</span>

And it will write the following for Yes

<span id=“contact-list-x” style=“display:none;”>Yes</span>

But we want to use the value from a checkbox as the checkbox can be used inside of hubspot forms etc.. The below code outputs nothing when checked or unchecked
<span id=“contact-test” style=“display:none;”>{{contact.TestCheckbox}}</span>

The problem is how to get the value of {{contact.TestCheckbox}} so we can write that to html?