[Dancer-users] Keeping values on a form

David Precious davidp at preshweb.co.uk
Fri Dec 17 00:36:34 CET 2010

"ambs" <ambs+dancer at perl-hackers.net> wrote:
>  - I have a form with an array of checkboxes
>  - that form gets submitted
>  - some results are shown, together with the form for resubmission
>The question is, how do I keep the checkboxes checked (or not) 
>accordingly with what the user picked before submitting it?

How are you generating the form? Using something like HTML::FormFu or a similar module, or handcoding the form HTML in your template?

David Precious <davidp at preshweb.co.uk>
Sent from my phone so please excuse brevity / poor quoting style etc

More information about the Dancer-users mailing list