Hello, self answer :
$form->process($c->request); was failing. I believed that it was not usefull because I read here : http://www.perlfoundation.org/perl5/index.cgi?action=revision_view;page_name=form_processing;revision_id=20071018102834 this : # using the FormConfig attribute is equivalent to: # # my $form = HTML::FormFu->new; # # $form->load_config_file('root/forms/my/controller/bar.yml'); # # $c->stash->{form} = $form; # # so you only need to do the following... my $form = $c->stash->{form}; But unfortunatly it was a bad copy of the documentation. Thanks for the documentation. Antoine. ----- Message d'origine ---- De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> À : FormFu <[email protected]> Envoyé le : Dimanche, 1 Juin 2008, 18h00mn 02s Objet : [html-formfu] two form in one page Hello everybody, I try to add multiple forms in one page. I can display it with one yaml file for each form. The problem is that nothing appends when I validate the first or the second form. Nothing is added in my database, and I my page is display again without any error. I try to do without FormConfig, because I have two config file, so I do like that : [...] __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail _______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
