logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormHandler::Field::Captcha - captcha field with GD::SecurityImage

Author

       FormHandler Contributors - see HTML::FormHandler

Name

       HTML::FormHandler::Field::Captcha - captcha field with GD::SecurityImage

Synopsis

       A Captcha class using GD::SecurityImage.  Requires that three methods be available from a form object:

         $self->form->get_captcha;
         $self->form->set_captcha;

       Using Catalyst and the Catalyst session plugin this field can be used in a form by using
       HTML::FormHandler::TraitFor::Captcha.

          package MyApp::Form::Post;
          use HTML::FormHandler::Moose;
          with 'HTML::FormHandler::TraitFor::Captcha';

       You can set the following attributes on the 'captcha' field:

          height, width, scramble, lines, gd_font

       Example:

          has 'captcha' => ( height => '24', width => '70' );

Version

       version 0.40068

See Also