Egg::Plugin::FillInForm - FillInForm for Egg.


  package MYPROJECT;
  use strict;
  use Egg qw{ FillInForm };

Example of code.

  $e->fillform(\$body, { name=> 'value' });


This module buries the value under the form by using HTML::FillInForm.

When this code was made, Catalyst::Plugin::FillInForm was imitated.

* Please see the document of HTML::FillInForm about a detailed explanation.


If the option of HTML::FillInForm is written in 'plugin_fillinform', it is passed as it is.

  plugin_fillinform=> {
    fill_password=> 0,
    ignore_fields=> [qw{ param1 param2 }],


$e->fillform([BODY], [HASH_REF]);

The burial in the form is processed.

When [BODY] is omitted, $e->response->body is used. In addition, if $e->response->body is undefined, 0 is returned and it ends.

When [HASH_REF] is omitted, $e->request->params is used.


When it is called that the processing of Egg ends ,in a word, finalize, $e->fillform is executed if this is true.


This method is called from Egg. There is no thing that the user calls.

If $e->form->has_missing or $e->form->has_invalid or $e->stash->{error} is true when Egg::Plugin::FormValidator, Egg::Plugin::FormValidator::Simple, Catalyst::Plugin::FormValidator are read, $e->fillform is executed.


HTML::FillInForm, Catalyst::Plugin::FillInForm, Catalyst::Plugin::FormValidator, Catalyst::Plugin::FormValidator::Simple, Egg::Plugin::FormValidator, Egg::Plugin::FormValidator::Simple, Egg::Release,


Masatoshi Mizuno <>


Copyright (C) 2007 by Bee Flag, Corp. <>, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.