+ Reply to Thread
Results 1 to 2 of 2

Thread: Interaction design: When to check a grouping checkbox

  1. #1
    Tarzan is offline x10Hosting Member Tarzan is an unknown quantity at this point
    Join Date
    Jun 2008
    Location
    Sweden
    Posts
    65

    Interaction design: When to check a grouping checkbox

    Hi!

    I have a form where a number of options with checkboxes are grouped (group 1, group 2, group 3 etc.)
    You can select items in each group individually. But then I also have a "grouping" checkbox for each group. If you select the checkbox for "Group 1" the whole group will be selected and vice versa.

    My question is, what state should the grouping checkbox be in when only a few options are selected - checked or unchecked?
    I've seen a few javascripts where the grouping checkbox is checked only when ALL checkboxes within the group are checked, so that the grouping checkbox is an indication on that the whole group is selected.
    I'm more inclined to think that the grouping checkbox should tell the user that "some of the options from this group are selected". In this case, the checkbox is checked when one or more options are selected.

    What would you prefer?

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,505

    Re: Interaction design: When to check a grouping checkbox

    The convention is only checking the group checkbox when all items are checked. Unless you have a very good reason to go against convention ("it makes more sense to me" isn't a good enough reason, because you are the minority), don't do it.

    The better solution (which is tricky, but possible) is to implement a tri-state checkbox to indicate that no, some or all items are selected.
    Last edited by misson; 05-28-2010 at 09:58 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Please check out my web design site
    By miocene2 in forum Review My Site
    Replies: 3
    Last Post: 08-03-2009, 05:42 AM
  2. Loading checkbox[] values
    By freecrm in forum Programming Help
    Replies: 9
    Last Post: 04-26-2009, 10:52 PM
  3. Check out the design.
    By kkenny in forum Review My Site
    Replies: 6
    Last Post: 01-08-2009, 12:42 PM
  4. Image checkbox
    By bunglebrown in forum Programming Help
    Replies: 27
    Last Post: 11-05-2008, 05:38 PM
  5. Visual Basic checkbox help
    By nightscream in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 03-30-2006, 08:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers