Hello, You probably want to take a look at this FAQ entry: http://masonhq.com/?FAQ:HTTPAndHTML#h-how_can_i_populate_form_values_automatically_
This will point you at using HTML::FillInForm which is very powerful in a filter section. Good Luck, Lee ----- Original Message ---- From: Louis-David Mitterrand <[EMAIL PROTECTED]> To: mason-users@lists.sourceforge.net Sent: Saturday, February 17, 2007 8:43:38 AM Subject: [Mason] populate form elements Hello, How can I populate form elements, short of setting a '-default=>' value on each of them. I tried in <%init>: for (values(%$defaults)) { param($_, $defaults->{$_}); } But it doesn't fill-in the form. Is there another way? Thanks, ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users