GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTML::FORMHANDLER::WIDGET::WRAPPER::SIMPLE (3)

.ds Aq ’

NAME

HTML::FormHandler::Widget::Wrapper::Simple - simple field wrapper

CONTENTS

VERSION

version 0.40065

SYNOPSIS

This is the default wrapper role. It will be installed if no other wrapper is specified and widget_wrapper is not set to ’none’.

Relevant field flags:



   do_wrapper
   do_label



If ’do_label’ is set and not ’do_wrapper’, only the label plus the form element will be rendered.

Supported ’tags’, all set via the ’tags’ hashref on the field:



    wrapper_tag    -- the tag to use in the wrapper, default div

    label_tag      -- tag to use for label (default label)
    label_after    -- string to append to label, for example :  to append a colon

    before_element -- string that goes right before the element
    after_element  -- string that goes right after the element

    no_errors      -- dont issue error messages on the field
    error_class    -- class for error messages (default error_message)
    warning_class  -- class for warning messages (default warning_message )

    no_wrapped_label -- for checkboxes. Dont provide an inner wrapped label
                        (from Base wrapper)



Example:



    has_field foo => ( tags => { wrapper_tag => span, no_errors => 1 } );



AUTHOR

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::FORMHANDLER::WIDGET::WRAPPER::SIMPLE (3) 2016-03-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.