Upvote 2

Count checkbox ticks from data list

Answered Rachel Grogan 6 years ago

I have a data list and I have a column for a tick box for each row.

I want all of the checkboxes to be ticked on load so I can't use onchange function.


How can I count the number of ticks? - Then return this value in a textbox.

Replies (1)
photo
1

Hi Rachel,

This will be quite difficult to achieve if the checkboxes are in the data list itself. We suggest placing the checkboxes on top of the data list and using on page load and on change events to detect the checked boxes using a variable. Check out the attached prototype to see how to get started: https://www.dropbox.com/s/6r4rf08sc7xfrd9/CountCheckboxes.vp?dl=0

Best,

Danielle

Leave a Comment
 
Attach a file