-1

I have a list of checkboxes, and I would like to tie them to a dynamic panel in a specific way:

  • If no checkboxes are selected, display a Dynamic Panel's state 0.
  • If only one (any) checkbox is selected, display a Dynamic Panel's state 1.
  • If two or more (any) checkboxes are selected, display a Dynamic Panel's state 2.

Is there a way to define this in a case?

I'm guessing no as I don't see any way to group checkboxes into a collection.

However, I thought I'd toss this out there and see if someone with more experience knows of a method for achieving this result.

6
  • This question is better suited to StackOverflow, as it relates more to how to use a product than on any UX question.
    – JohnGB
    Nov 30, 2012 at 0:41
  • It's possible, just make sure to use conditions and check the value of the checkboxes for each of these cases. Nov 30, 2012 at 5:51
  • @JohnGB This would not be a good fit on Stack Overflow, there's no implementation to speak of. Speaking as a mod on StackOverflow myself, It would be quickly closed as non constructive.
    – Tim Post
    Nov 30, 2012 at 10:53
  • Hi Charles. I'm afraid this isn't on topic for our site. Although Axure is used by UX professionals, questions about how to use it aren't suitable for here as they are not UX issues themselves.
    – JonW
    Nov 30, 2012 at 10:57
  • No problem. For future reference, where would be an appropriate place? Nov 30, 2012 at 12:48

2 Answers 2

2

I spent nearly two hours to try in Axure, I found the way to do it, but just for research on this problem, if I was working on a project, I absolutely wouldn't spend so much time on this.

For better understanding, I used four panels - state0/1/2/3 to describe select none/1/2/3. I am glad that I can attach pictures now:). Any other questions please let me know.

However, I hope you solved this problem by adding notes :), since Axure is a simple and rapid prototype development tool, you cannot demand everything, or we can development product just by it. :)

checkbox a

checkbox b

checkbox c

2
  • This would work, a little complex though because if there are 8 checkboxes this needs to be repeated 8 times. Nov 30, 2012 at 6:07
  • yeah, right. But try not to design so complex haha.
    – syd1202
    Nov 30, 2012 at 6:18
1

There is an easy way to do this. Use an extra dynamic panel, it will act as your "checker".

onLoad > hide "Checker"

Checker: onHide

  • 3 cases checking (use conditions) all checkboxes for the scenarios you listed
  • wait 50 ms
  • show "checker

Checker: onShow

  • hide "Checker:

I hope this makes sense. It is a very useful thing to learn how to make and this Checker pattern can be reused especially with forms. It is easily maintained and doesn't require the user to even interact with your form to trigger a change. The checker will automatically know what state the panel should be in.

Not the answer you're looking for? Browse other questions tagged or ask your own question.