This topic is locked

Count Total of Checkboxes

10/9/2013 12:28:19 PM
ASPRunnerPro General questions
G
gonzalosb author

Hi All,

as you see I keep going with my checkboxes questions. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=21426&image=1&table=forumtopics' class='bbc_emoticon' alt=':D' />

Now,

can I take a total of marked checkboxes per group as total and sum the grandtotal at the end?

please view http://www.asprunner.com/forums/topic/21418-dropdown-specific-group-names-from-database/ for pictures orientation.
group 1 = 5

group 2 = 3

group 3 = 2
total = 10
this will be save on the database as " group 1 total " and so on. and " grandtotal "
thanks for your help in advance.

G
gonzalosb author 10/14/2013

can this be done?

if not, is a way tu imput data manualy on each Total box and be automaticaly SUM on grandtotal

admin 10/14/2013

I'm sure this can be done, I just don't understand what you are trying to achieve.

G
gonzalosb author 10/16/2013


.

picture 1 and 2 will be in 1 same " add new " page

im intent to get the total of the checkboxes by group and a total of ALL the checkboxes

admin 10/16/2013

If you want to update totals right after checkboxes are selected you need to add a Javascipt handler to each checkbox group that will recalulate the number of selected checkboxes in given group and update corresponding totals field as well as grand total. Unfortunately we do not sample code for this task.

G
gonzalosb author 10/17/2013

oh wow !!! that means that i hit a dead end... hmmm

well , I will need to found a work arround then.
thank you Sergey

admin 10/17/2013

This definitely possible to implement. You need to hire someone who can write Javascript code.
I recommend to contact Cristian:

http://www.asprunner.com/forums/user/7513-cristian-gil/