Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating values using checkboxes

Status
Not open for further replies.

12369874

MIS
Nov 30, 2001
12
GB
Help!
I have 6 checkboxes on a form, checkbox1, checkbox2, checkbox3, checkbox4, checkbox5, checkbox6.

Checkbox1 I want to assign the value 1
Checkbox2 I want to assign the value 2
Checkbox3 I want to assign the value 3
etc...
When I click on checkbox 1, 2 or 3 I want it to enter the value into a textbox called txtcalculate. This is not a problem until I want to unclick the checkbox to make another selection. The first checkbox I selected stays selected.
Another problem I have is with checkboxes 4,5,6. I want the selected value from one of these to multiply with the selected value from 1, 2 or 3.

Hope this makes sense, any help would be appreciated!
Cheers
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top