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
HTML::Shakan::Fields(3) User Contributed Perl Documentation HTML::Shakan::Fields(3)

HTML::Shakan::Fields - fields

This module exports some functions, that generates a instance of HTML::Field::*.

If you want to know the details, please look the source :)

"TextField(name => 'foo')"
create a instance of HTML::Shakan::Input.

This is same as HTML::Shakan::Input->new(name => 'foo', type => 'text', @_);

"EmailField(name => 'email')"
TextField() + EMAIL_LOOSE constraint.
"URLField(name => 'url')"
TextField() + HTTP_URL constraint
"UIntField(name => 'i')"
TextField() + UINT constraint
"IntField(name => 'i')"
TextField() + INT constraint
"PasswordField(name => 'pw')"
define <input type="password" /> field
"FileField(name => 'file')"
define <input type="file" /> field
"ImageField(name => 'image')"
FileField + FILE_MIME=image/* constraint
"ChoiceField(name => 'interest', choices => [1 => 'moose', 2 => 'mouse', 3 => 'exporter'])"
selector field.
"DateField(name => 'birthdate')"
date input field.
"Duplication('mail' => EmailField(), EmailField())"
both field contains same value?

Tokuhiro Matsuno(tokuhirom)

HTML::Shakan

use Params::Validate ':all';

2022-04-09 perl v5.32.1

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

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