1HTML::FormHandler::FielUds:e:rCaCpotncthrai(b3u)ted PerlHTDMoLc:u:mFeonrtmaHtainodnler::Field::Captcha(3)
2
3
4
6 HTML::FormHandler::Field::Captcha - captcha field with
7 GD::SecurityImage
8
10 version 0.40068
11
13 A Captcha class using GD::SecurityImage. Requires that three methods
14 be available from a form object:
15
16 $self->form->get_captcha;
17 $self->form->set_captcha;
18
19 Using Catalyst and the Catalyst session plugin this field can be used
20 in a form by using HTML::FormHandler::TraitFor::Captcha.
21
22 package MyApp::Form::Post;
23 use HTML::FormHandler::Moose;
24 with 'HTML::FormHandler::TraitFor::Captcha';
25
26 You can set the following attributes on the 'captcha' field:
27
28 height, width, scramble, lines, gd_font
29
30 Example:
31
32 has 'captcha' => ( height => '24', width => '70' );
33
35 FormHandler Contributors - see HTML::FormHandler
36
38 This software is copyright (c) 2017 by Gerda Shank.
39
40 This is free software; you can redistribute it and/or modify it under
41 the same terms as the Perl 5 programming language system itself.
42
43
44
45perl v5.32.1 2021-01-2H7TML::FormHandler::Field::Captcha(3)