Graeme McLaren wrote:
[...]
It works but unfortunately it loses the order when checking one of the
checkboxes. Can anyone suggest a way to generate a checkbox form and
when updating the values it keeps the order?
[...]
I don't know if you can ensure the browser submits elements in a certain
order, but I'm certain that you can process them in the order that you
desire, like so:
for (sort CGI::param()) {
process_whatever($_);
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>