in reply to Re^2: OT? Checkbox list with CGI/Javascript
in thread OT? Checkbox list with CGI/Javascript

And the problem is...? Given this is a perl site, I think the exhortation to generate text given your @userids is implicit.

<tmpl_loop userids> <input type="checkbox" name="ids" value="<tmpl_var name>"> </tmpl_loop>
and in perl
my %tmpl_vars = ( userids => map { {name => $_} } @userids );
assuming you're using HTML::Template. Modify as appropriate for your own templating system. You are using a templating system, right?