1HTML::FormHandler::WidgUeste:r:WCroanptpreirbH:uT:tMSeLid:m:pPFleoerr(lm3H)Daoncdulmeern:t:aWtiidognet::Wrapper::Simple(3)
2
3
4
6 HTML::FormHandler::Widget::Wrapper::Simple - simple field wrapper
7
9 version 0.40068
10
12 This is the default wrapper role. It will be installed if no other
13 wrapper is specified and widget_wrapper is not set to 'none'.
14
15 Relevant field flags:
16
17 do_wrapper
18 do_label
19
20 If 'do_label' is set and not 'do_wrapper', only the label plus the form
21 element will be rendered.
22
23 Supported 'tags', all set via the 'tags' hashref on the field:
24
25 wrapper_tag -- the tag to use in the wrapper, default 'div'
26
27 label_tag -- tag to use for label (default 'label')
28 label_after -- string to append to label, for example ': ' to append a colon
29
30 before_element -- string that goes right before the element
31 after_element -- string that goes right after the element
32
33 no_errors -- don't issue error messages on the field
34 error_class -- class for error messages (default 'error_message')
35 warning_class -- class for warning messages (default 'warning_message' )
36
37 no_wrapped_label -- for checkboxes. Don't provide an inner wrapped label
38 (from Base wrapper)
39
40 Example:
41
42 has_field 'foo' => ( tags => { wrapper_tag => 'span', no_errors => 1 } );
43
45 FormHandler Contributors - see HTML::FormHandler
46
48 This software is copyright (c) 2017 by Gerda Shank.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.34.0 H2T0M2L2:-:0F1o-r2m1Handler::Widget::Wrapper::Simple(3)