# Comparing checkbox selections

**URL:** https://www.finalbuilder.com/forums/t/comparing-checkbox-selections/5203
**Category:** Discussion
**Created:** [July 21, 2014, 8:19am UTC](https://www.finalbuilder.com/forums/t/comparing-checkbox-selections/5203 "2014-07-21T08:19:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![giancarloandroid](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/ce7236/32.png) [@giancarloandroid](https://www.finalbuilder.com/forums/u/giancarloandroid)
#### Post date: [July 21, 2014, 8:19am UTC](https://www.finalbuilder.com/forums/t/comparing-checkbox-selections/5203/1 "2014-07-21T08:19:41Z")

</div>

Good afternoon.  
  
How can I compare if some checkbox is selected in a variable of Prompt Type = Checkbox Selection?  
  
%VARIABLE%.VALUE\_OF\_THE\_CHECKBOX?  
  
Thank you.

---

<div class="post-metadata">

### Author: ![peter.toms](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/df788c/32.png) [@peter.toms](https://www.finalbuilder.com/forums/u/peter.toms)
#### Post date: [July 22, 2014, 1:49am UTC](https://www.finalbuilder.com/forums/t/comparing-checkbox-selections/5203/2 "2014-07-22T01:49:40Z")

</div>

Hi giancarloandroid.   
  
 For a checkbox select variable type, the value is the name of the option(s) selected. For example a variable %somevariable% with options test1 and test2. If test1 checkbox is ticked the value of the variable will be ‘test1’, if both are ticked the value would be ‘test1 test2’. A variable could then be compared (depending on what you trying to achieve) using %somevariable% contains ‘test1’ (within an If stage action).   
  
 With a single checkbox variable type, values are ‘true’ for ticked or ‘false’ for not ticked.

---

<div class="post-metadata">

### Author: ![giancarloandroid](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/ce7236/32.png) [@giancarloandroid](https://www.finalbuilder.com/forums/u/giancarloandroid)
#### Post date: [July 22, 2014, 1:54am UTC](https://www.finalbuilder.com/forums/t/comparing-checkbox-selections/5203/3 "2014-07-22T01:54:59Z")

</div>

Thank you. You did help me a lot (;
