Welcome to Axure Community Site Sign in | Join | Help
in Search

Checkboxes with expanding regions

Last post 06-29-2009, 8:16 PM by Jeff Harrison. 4 replies.
Sort Posts: Previous Next
  •  06-24-2009, 11:35 PM 5240

    Checkboxes with expanding regions

    You may have guessed by now that Axure challenges have displaced the Sunday Times puzzle in my life for the moment, and that the results are often more entertaining than they are useful on a daily basis.

    However, here's something that I've seen discussed on the boards, and it's also come up at work: Having a bunch of checkboxes with extra stuff that shows up when some of them are checked. This is a pretty common request in web applications, and it's hard to do in Axure. The problem is that checkboxes, unlike radio buttons, can be checked/unchecked independently, so if you have a form with n checkboxes, there are 2^n combinations. That's a lot of combinations to manage.

    My goal was to come up with a solution that met these criteria:
    • The form should be able to handle an arbitrary number of checkboxes.
    • Different checkboxes in the form might have different kinds of conditional content to display.
    • The effort to set up the form should grow linearly, not exponentially, as the number of checkboxes grows.
    • Enough of the complexity should be encapsulated in a master of some kind that a sufficiently motivated person can learn how to set one up quickly enough to make it worthwhile.

    I'm pretty happy with the results as they're measured against the first three of these; whether I've nailed the fourth is an open question. I'd be happy for any feedback. The uploaded file contains an example form, a custom widget that can be used to build a new one, and a few pages of documentation and instructions. All you need is the widget; the solution uses no variables.

    Thanks,

    Jeff

  •  06-25-2009, 1:43 AM 5242 in reply to 5240

    Re: Checkboxes with expanding regions

    Wow, Jeff. I'm guessing those Sunday Times puzzles were too easy for you.
  •  06-25-2009, 11:10 AM 5250 in reply to 5240

    Re: Checkboxes with expanding regions

    This is GREAT Jeff!

    And the documentation is superb - It is a good example for those of us who work on shared project files of how to communicate to team members how stuff works on pages we design, especially when the behavior is not obvious just from looking at the interactions panel.

    Best,

    -Ezra


    Disclaimer: I am not an employee of Axure nor am I compensated by the company in any way, shape or form. Rather, I have a vested interest In its continued development as an avid user of the application on a daily-basis. (disclaimer by Ari Feldman)
  •  06-29-2009, 5:13 PM 5292 in reply to 5240

    Re: Checkboxes with expanding regions

    I was locked out of my forum account for a few months, but made the point of reactivating it today to reply to this thread.  AWESOME work!  Chaining focus events is a real innovation and can be used for quite a lot of advanced interactivity.
  •  06-29-2009, 8:16 PM 5296 in reply to 5292

    Re: Checkboxes with expanding regions

    Thanks, all, for making my head even larger.

    Jeff

View as RSS news feed in XML