[html-formfu] multi stage forms

Ulrich Leodolter ulrich.leodolter at univie.ac.at
Sat Oct 13 18:21:48 GMT 2007


On Fri, 2007-10-12 at 20:00 +0200, Mario Minati wrote:
> On Thursday 11 October 2007 23:35:38 Ulrich Leodolter wrote:
> > hello,
> >
> > i'd like to implement a "multi stage form"
> > (using Catalyst::C::HTML::FormFu)
> >
> > the first form has only 2 fields
> > after submit these two fields are used
> > to query a database (using XML::DOM::Parser)
> >
> > the results from the query should be used to
> > fill a second more komplex form.
> >
> > i have no idea how to implement this so that
> > it fits nice into Catalyst.
> 
> Currently there is no special support for multiple stage forms.
> 
> You just have to implement two separate forms.
> If you want to implement them in a wizard style you have to care for the logic 
> and buttons your self.
> 

i have solved it by doing a post redirect to a second action
which shows the more complex form.   any required fields except
the submit button are filled.  the user can inspect all fields
and maybe fill (not required) some extra fields.

there is one thing:  i would like to suppress the error on the
required submit button 'This field is required' (in german more
bad 'Feld muss ausgefüllt sein', because cant fill a button)

i think default submit should be required and no error message
if not present.

is there submit config option to suppress the error message?

thanks,
ulrich

> Greets,
> 
> Mario Minati
> 
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.rawmode.org
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu




More information about the HTML-FormFu mailing list