- or download this
package MyApplication::Controller::User;
use strict;
...
$c->stash->{form} = $form;
}
- or download this
use HTML::FormFu;
...
# display the form
$template->param( form => $form );
}
- or download this
# This is the run mode that will be validated. Notice that it accepts
# some errors to be passed in, and on to the template system.
...
},
};
}
- or download this
use CGI::FormBuilder;
...
# Print out the form
print $form->render(header => 1);
}