views:

20

answers:

1

Hello all,

I have a simple form with several checkboxes. Now I need to prevent users to proceed with this form if more then 3 checkboxes are selected. How should this be done?

A: 

Prevent the user from proceeding in what fashion?

On general way would be to simply keep track of the number of check boxes checked within your checkbox check methods. In each check method, check your checkbox count variable and you can proceed from there how you want to prevent the user from interacting with your form.

Robb
Thanks, and do you now any other way to redirect the page in php except for header?
I'm sorry, I am not very familiar with php :(
Robb