Pavlos1316 Posted June 14, 2008 Share Posted June 14, 2008 Hi to all (quite new still) I have a form with checkboxes. It works fine. It has 24 columns. 8 rows X 3 colums each. I need when the form is submited to check if: 1. every row has at least 1 column checked 2. there are no more than 9 columns checked. That means one column checked in every row exept one that will have 2 columns checked. Can anyone help me? ??? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/110212-checkboxes-form/ Share on other sites More sharing options...
hansford Posted June 14, 2008 Share Posted June 14, 2008 some client side scripting would be best - Javascript. Quote Link to comment https://forums.phpfreaks.com/topic/110212-checkboxes-form/#findComment-565560 Share on other sites More sharing options...
Pavlos1316 Posted June 14, 2008 Author Share Posted June 14, 2008 Already tried a javascript code but it didn't work. Plus errors from php I can correct them.. So if anyone knows how... Quote Link to comment https://forums.phpfreaks.com/topic/110212-checkboxes-form/#findComment-565568 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.