Checkbox Counting with Select All

This is my first post here, and it’s just been a couple of days that I have been using Axure. I am not sure if this is a newbie question, but I can’t seem to be able to do a very simple thing.

I am creating a simple checkbox list with Select All function. I also want to show the number of selected checkboxes in a label.
The checkbox counter is working perfectly when I manually select each checkbox, but when I try the Select All checkbox, the count gets multiplied by 2!

I see what the problem is, the OnSelected action gets triggered twice, but I have no idea why this is happening or how I can avoid it. Can someone please help me with this?

My sample file is here with the working prototype. Checkbox count.rp (53.6 KB)

Thanks in advance!

@ameeqasrar

it’s not your fault, it’s a known bug in RP 9, please see this post: [Bug] Move interaction works funny - #4 by Alyssa_Axure

So as a workaround, you need to add some extra logic in “Select All”

Checkbox count.rp (54.5 KB)

Oh, thanks a lot for the help. This works like a charm! I’m going to put this one to use :smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.