lundi 16 février 2015

Vote form with selection dependant radio buttons or checkboxes

Right now I'm trying to get along with a vote form in a way similar to Eurovision Songcontest Votes, eg you have a couple of things to choose for but only a fixed number of options to choose from where each option can only be used once. Based on that I like to deactivate the other radio buttons featuring the same value.


A simple example (with radio buttons since I'm not sure if it makes a difference using radio buttons or check boxes):


You get to vote how much points you like to spend for someone but can only spent either 1, 2 or 3 points for 3 persons in total. Checking the radiobutton for 2 points for the first person automatically disables the radio buttons for "2 points" for person 2 and person 3 so only "1 point" and "3 points" can be spent.


I hope that example was really of a simple one and look forward to help :) Also I have to admit I had a real hard time finding similar threads, hence appearing as a new question here. Thanks in advance for participating!





Aucun commentaire:

Enregistrer un commentaire