Prachi Shah wrote: > Hi all, > > I have a CGI script which does a select on a database and > builds a checkbox > group iterating through the result of the select. The problem > is when a user > submits the form, only the first checked item in the checkbox > group is > passed.
How do you know only the first checked item is being passed? How are you retrieving the parameter values? I assume you're seeing multiple checkboxes on the screen, so your generate code is probably OK. All the checkboxes have the same name, so you need to call param() in list context to get them all. If you call it in scalar context, you're only going to get the first. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]