[thelist] checked vs. unchecked checkboxes

Jeff Howden jeff at jeffhowden.com
Tue Oct 19 15:11:41 CDT 2004


Mark,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Mark Joslyn
> 
> Naming all the checkboxes the same name did not work
> since it always sent the last checkbox in the
> list. [...]
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

That's not true.  Checkboxes (or any form field types except radio buttons,
for that matter) that share the same name send the values of all successful
form controls to the serve as a comma-delimited list.  Perhaps your PHP
processing page is doing something funky to the returned value before you
start working with it that's causing you to lose everything but the last
entry.  However, I'd advise you to take a look at it again.

Jeff
------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/



More information about the thelist mailing list