dimanche 31 janvier 2016

check checkbox one by one with one button

I have 8 checkboxes in my form and one button, what i need is:

For each button click i want each of checkbox to be checked one by one. for example:

first click 

checkbox1.checked = true
checkbox2.checked = false
checkbox3.checked = false
checkbox4.checked = false

second click

checkbox1.checked = true
checkbox2.checked = true
checkbox3.checked = false
checkbox4.checked = false

third click

checkbox1.checked = true
checkbox2.checked = true
checkbox3.checked = true
checkbox4.checked = false

Can someone help me if this is possible? Thanks in advance




Aucun commentaire:

Enregistrer un commentaire