June 19th, 2002, 10:38 AM
The first set of checkboxes includes:
The second set of checkboxes includes:
echo "<input type=\"checkbox\" name=\"Courses\" value=\"$rows[Crskey]\">\r\n";
And my form is:
echo "<input type=\"checkbox\" name=\"Employee\" value=\"$row[Empkey]\">\r\n";
<form name="form" action="scheduledemp.php" method="POST" onSubmit='return checkform(form);'>
Again how can i make the user check off at least one box from each of the two sets of checkboxes....if they don't make a choice the form will not submit.....
Thanks in advance.
June 19th, 2002, 10:42 AM
And you know I mean that.
June 19th, 2002, 02:25 PM
What's worse, you're duplicating your own thread that you started yesterday.
Al, fwiw, why respond if you're only going to angrily nag about the choice of forum? At the very least you could do it with a little more tact. Besides, I bet a good percentage of the folks who hang around here can answer this question perfectly well and clearly.
June 20th, 2002, 09:26 AM
June 20th, 2002, 10:11 AM
That doesn't tell anybody anything. In order for anybody to help you, they need to see the code that generates the syntax error-- the "offending" code that is committing the grievous offense of being broken.
June 20th, 2002, 11:01 AM
was able to figure out the error with the help of Adios. Thanks to all that replied.
June 20th, 2002, 12:34 PM
ahh, I see... you wanted somebody to write your code for you. my bad.
June 20th, 2002, 01:38 PM
No his code was not exactly what i needed but he did provide me with a physical idea of how it was supposed to be done. what i didn't know how to do is to put both sets of checkboxes into one form and plus i have some other fields that i needed to validate as well. don't get me wrong your help was greatly appreciated and i tried three ways of doing it with your advice. Thanks again!!