I need a little help with some check boxes. This is what I want to happen.
I have 5 items that I want to have check boxes for (pistol, revolver, rifle, shotgun, knife).
I need to set a value for each item.
pistol = 10
revoler = 10
rifle = 10
shotgun = 15
knife = 5
Now, if any of the check boxes are checked, i need to take the value of the items checked and add them to together....i.e.
pistol = 10 (checked)
revolver = 10 (checked)
knife = 5 (checked)
total = 25
Then take that total, and rate it against a level.
Total 0-10 == Low risk
Total 11-20 == Moderate risk
Total 21 up == High risk
I have 5 items that I want to have check boxes for (pistol, revolver, rifle, shotgun, knife).
I need to set a value for each item.
pistol = 10
revoler = 10
rifle = 10
shotgun = 15
knife = 5
Now, if any of the check boxes are checked, i need to take the value of the items checked and add them to together....i.e.
pistol = 10 (checked)
revolver = 10 (checked)
knife = 5 (checked)
total = 25
Then take that total, and rate it against a level.
Total 0-10 == Low risk
Total 11-20 == Moderate risk
Total 21 up == High risk