Demonstration Form
(Add up weightings)
Q1 Blah blah blah  
yes
no
maybe
Q2 Rhubarb rhubarb rhubarb  
red
fish
Tuesday
Only in the mating season
         
    Total score ..        

The above form adds up scores associated with radio buttons, when you click on the 'Calculate Score' button.
Clicking on 'Debug', and then 'Calculate Score' again, provides a little more information.
View the Source to see how we did things (and kept them flexible)!


Return to the Javascript tutorial. Page author: jvs@anaesthetist.com