Hello A L, <speaking of toggling checkboxes> > When I search for this on the web, most of them give javascript results. I would like > to use Perl. Is it possible to do this with Perl?
Why would you want to do something like that in Perl? When you click a button on a web form, the only time you want to call a server-side script is when actually submitting the form (some exceptions of course). For something like that, which is basically interface convenience, you want fast interaction (i.e. you don't want to wait for a web page to load, which is what doing this server-side will entail). In a case like this, do it with JavaScript. Of course, you will have to make your Perl script that generates the page generate the JavaScript so that it will check/uncheck as many items as you really have (if those items are variable, generated by your script). In that case, a templating mechanism (HTML::Template, Template::Toolkit, etc) will help greatly, with the added benefit of separating code and interface, which will make your Perl/web project easier to maintain. Hope that helps. Good luck, J-S _____________________________________________________ Jean-Sébastien Guay -- Conseiller technique - Administration -- (514) 522-9800 #4840 -- [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]