1HTML::FormHandler::FielUds:e:rTeCxotn(t3r)ibuted Perl DoHcTuMmLe:n:tFaotrimoHnandler::Field::Text(3)
2
3
4
6 HTML::FormHandler::Field::Text - text field
7
9 version 0.40068
10
12 This is a simple text entry field. Widget type is 'text'.
13
15 size [integer]
16 This is used in constructing HTML. It determines the size of the input
17 field. The 'maxlength' field should be used as a constraint on the
18 size of the field, not this attribute.
19
20 minlength [integer]
21 This integer value, if non-zero, defines the minimum number of
22 characters that must be entered.
23
24 maxlength [integer]
25 A constraint on the maximum length of the text.
26
27 error messages
28 Set error messages (text_minlength, text_maxlength):
29
30 has_field 'my_text' => ( type => 'Text', messages =>
31 { 'text_minlength' => 'Field is too short',
32 'text_maxlength' => 'Field is too long',
33 } );
34
36 FormHandler Contributors - see HTML::FormHandler
37
39 This software is copyright (c) 2017 by Gerda Shank.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.32.1 2021-01-27 HTML::FormHandler::Field::Text(3)