hello,

I've a problem with MultiForms, the "first" form shows the data from db, the "second" form won't - am I doing something wrong?

the controller code:

sub show : Local : MultiFormConfig('auth/show.yml') {
    my ( $self, $c ) = @_;

        $c->detach('login') if (!$c->user_exists);
        if ( $c->stash->{multiform}->complete ) {
        ...
        }

        my $row = $c->model('Frontwave::UserDepot')->find($c->user->obj->id);
        $row->fill_formfu_values( $c->stash->{multiform}->current_form );
}

form config is trivial, does not depend on any fields, if I replace fields shown in "1" and place them in "2" no values are shown...

any hints?

regards
josef

ps: btw, carl, thanks for the last answer regarding "multiple model_stash?", putting resultset and model in model_config did the trick!

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

Reply via email to