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::SHAKAN::FIELD::CHOICE (3)

.ds Aq ’

NAME

HTML::Shakan::Field::Choice - choice field

CONTENTS

SYNOPSIS



    use HTML::Shakan::Field::Choice;
    HTML::Shakan::Field::Choice->new(
        name => pref,
        choices => [
            #value=> label
            tokyo => tokyo,
            osaka => osaka,
            kyoto => kyoto,
        ],
    );

    # or shortcut
    use HTML::Shakan::Fields;
    ChoiceField(
        name => pref,
        choices => [
            tokyo => tokyo,
            osaka => osaka,
            kyoto => kyoto,
        ],
    );

    # if you want radio button
    ChoiceField(
        name => pref,
        choices => [
            tokyo => tokyo,
            osaka => osaka,
            kyoto => kyoto,
        ],
        widget => radio,
    );

    # if you want checkbox
    ChoiceField(
        name => pref,
        choices => [
            tokyo => tokyo,
            osaka => osaka,
            kyoto => kyoto,
        ],
        widget => checkbox,
    );



DESCRIPTION

Choice field implementation. This field may show in HTML as <select></select> tag.

base class

HTML::Shakan::Field

SEE ALSO

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


perl v5.20.3 HTML::SHAKAN::FIELD::CHOICE (3) 2016-04-03

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