Hey :p

I have a "common" action that a lot of other actions forward to, to generate a form I include on several pages.

I use the sub add : Local : FormConfig {} to load the form-configs, which works great, except that the action I forward to also populate $c->stash->{form}, thus overriding the form already populated.

Is there any way to give FormConfig two parameters, and the last one being the name I would like it to put it in the stash under? I can prolly try to provide a patch if that is desired.

If thats not possible, how can I create the form in the action by myself and still have label_loc etc just magicaly work, without duplicating too much code and config?


- andreas

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to