Re: Voting

Home Forum General Voting Re: Voting

#4810

ijobling
Participant

are you trying to allow a user to select 2 itiems from one checkbox and 3 from another selection of items in another check box?

if so, look at how possibly behaviours can help you do this.

for instance, one way is to look at the ‘checkbox is clicked’ event on each of the checkbox items, and then run a ‘set field’ script to write 1 (one) to a hidden field. if your set field script is set up to write 1 + value of hidden field, it will basically COUNT .. and then on that hidden field ‘when data has changed’ event you can run a conditional script so that when the value of that field reaches your limit (2 or 3 for your two different check box groups) you can then ‘disable’ the check box to stop the users selecting more.