# Does anybody know javascript farely well?

**URL:** <https://forum.kirupa.com/t/does-anybody-know-javascript-farely-well/207017>\
**Category:** Uncategorized\
**Created:** [November 14, 2006, 2:15am UTC](https://forum.kirupa.com/t/does-anybody-know-javascript-farely-well/207017 "2006-11-14T02:15:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [November 14, 2006, 2:15am UTC](https://forum.kirupa.com/t/does-anybody-know-javascript-farely-well/207017/1 "2006-11-14T02:15:59Z")

</div>

Hey all,

just a question to find out if its possible to do the following…

I have 4 checkboxes and i only want the user to select 2 at any given time…is that possible??

essentially i need it to be so that when the user selects any 2 choices the other 2 options are disabled or set to Boolean = false;  
I believe that it can be done through a series of if or else statements but i have had some peeps trying to say it can’t be done

Cheers peeps 🙂
