[Catalyst] Any recommendations for multiple forms in catalyst (have been using HTML::FormFu)?

kakimoto at tpg.com.au kakimoto at tpg.com.au
Thu Jul 3 03:03:33 BST 2008


hello all :)

  i;m trying to build a system with catalyst. Followed the tutes and
used html::FormFu. Works great but fails when i have multiple step
operations. 

 been introduced to Catalyst-Controller-FormBuilder-MultiForm and will
look at it. 

Any more recommendations to achieve the purpose below?

step 1: generate a form prompting users to choose "loan" type (ie. home,
personal, corporate)
step 2: generate a form based on the type of loan chosen from step 2
step 3: save loan type to "loans" table (attributes from form in step
1), get ID , 
           save the attributes from the form in step 2

Using Html::FormFu,
in step 2, i have loaded the specific YAML config based on the loan type
by instantiating a new html::Formfu object. 

problem is, in step 3, by using $c->{stash}->{form}, i cannot get any
attributes found in step3.


Any ideas??

Also, any recommendations for multiple forms in catalyst?



Thanks all




More information about the Catalyst mailing list