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  -  FORM::SENSIBLE::FIELD::TEXT (3)

.ds Aq ’

NAME

Form::Sensible::Field::Text - Field for representing character-strings

CONTENTS

SYNOPSIS



    use Form::Sensible::Field::Text;
   
    my $textfield = Form::Sensible::Field::Text->new(
                                                    name => username,
                                                    maximum_length => 16,
                                                    minimum_length => 6,
                                                    should_truncate => 0
                                                  );



DESCRIPTION

Form::Sensible::Field subclass for representing character-string based data.

ATTRIBUTES

maximum_length The maximum length this text field should accept. Note that any size of string can be placed in the field, it will simply fail validation if it is too large. Alternately if should_truncate is true, the value will be truncated when it is set.
minimum_length The minimum length this text field should accept. If defined, validation will fail if the field value is less than this.
should_truncate Indicates that if value is set to a string larger than maximum_length, it should be automatically truncated to maximum_length. This has to be manually turned on, by default should_truncate is false.

METHODS

get_additional_configuration() Returns the attributes’ names and values as a hash ref.

AUTHOR

Jay Kuri - <jayk@cpan.org>

SPONSORED BY

Ionzero LLC. <http://ionzero.com/>

SEE ALSO

Form::Sensible

LICENSE

Copyright 2009 by Jay Kuri <jayk@cpan.org>

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

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


perl v5.20.3 FORM::SENSIBLE::FIELD::TEXT (3) 2012-02-02

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