programmher
Programmer
I have a page that includes seven color fields (Color1, Color2, etc.).
I have another field that should reflect the total colors chosen (ex - user selectd 3 colors, the number 3 appears in the Total_Selected_Colors field).
I have used a parsefloat and parseint to dynamically add totals associated with fields; but, I have never attempted to COUNT the number of selected fields and reflect this total on the onchange event.
Can anyone show me how to do this?
I have another field that should reflect the total colors chosen (ex - user selectd 3 colors, the number 3 appears in the Total_Selected_Colors field).
I have used a parsefloat and parseint to dynamically add totals associated with fields; but, I have never attempted to COUNT the number of selected fields and reflect this total on the onchange event.
Can anyone show me how to do this?