First off my apologies, my JavaScript skills are minimal.
I have a simple app which has a set of questions on the page that the user answers and each answer has a numerical value. I have a JavaScript that fires when a button is clicked and their total score is then displayed on the same screen.
One question has changed and now consists of 3 options which I have set up as checkboxes. The user can select one, two or all of the options and each option has a different value (1,5, 2). I have set the value of each checkbox in the Properties.
I want to use JavaScript to take the total of all three checkboxes and add them into my final total, but whatever I try returns NaN as the total. This is all set up on one page, so I don't think I need any stored variables.
I think this should be pretty simple, but I am having more problems with it than I should. Any help is appreciated.