Re: dynamic checkboxes submit..help!
| From: | Mike Flynn | Date: | Mon, 18 Feb 2002 13:43:08 +0000 |
| Subject: | Re: dynamic checkboxes submit..help! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12123@lists.php.net to get a copy of this message | ||
You have to be a little more clear. What do you mean by "dynamically generated" and "tree"? If the checkboxes are created dynamically, what naming convention are using to give the checkboxes names? Set their value=".." to whatever you want, and use some convention for their names. Then after submitting, use that same naming convention to look at all the names and see which ones have been set, and those are the ones that are checked. The "values of all the checkboxes which are checked" are always submitted. That's how forms work..
-Mike
At 01:23 PM 2/18/2002 +0000, you wrote:
Hi, I have a dynamically generated tree of checkboxes which I need to submit to a PHP page for performing a search.. Can anyone pl suggest as to how I can submit the values of all the checkboxes which are checked?? TIA, sands