How do I associate checkboxes with numerical values and show total at the end of the form?