Switch theme:
Default •
Dark (Blue
/ Green
/ Orange
/ Red
/ Pink )
Keyboard navigation
Just as with a regular form, you can navigate through different elements with the keyboard.
Try using the space bar to select checkboxes and radio buttons, arrow keys in select menus,
and even typing an option in a select menu. The escape key will also close an open menu.
AJAX-ready
Usually, jQuery plugins are less than optimal when it comes to running an AJAX website.
You need to use callback functions, wait for the content to finish loading, then call
the plugin again.
Plum was built with AJAX in mind. That means you call the plugin one time and any forms
you create on the fly will be given the power of Plum. Try it to see for yourself!
Add a select menu
Add a checkbox to "Group 1"
Checkboxes & checkbox groups
Checkbox groups can be created simply by adding a "check-all" class to each box you'd like to act as a handler.
Check all boxes in group 1
Group 1, box 1
Ungrouped box
Ungrouped box, disabled
Group 1, box 2
Check all boxes in group 2
Group 2, box 1
Group 2, box 2
Group 2, box 3, checked
Group handlers can be placed anywhere.
Check all boxes in group 1
Radio buttons
Radio group 1, button 1
Radio group 1, button 2
Radio group 1, button 3, disabled
Radio group 2, button 1
Radio group 2, button 2
Select menus
A basic select-one menu with a list of countries
Select a country
Afghanistan
Åland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo, The Democratic Republic of The
Cook Islands
Costa Rica
Cote D'ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-bissau
Guyana
Haiti
Heard Island and Mcdonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic of
Iraq
Ireland
Isle of Man
Israel
Italy
Jamaica
Japan
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Korea, Democratic People's Republic of
Korea, Republic of
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macao
Macedonia, The Former Yugoslav Republic of
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory, Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and The Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and The South Sandwich Islands
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan, Province of China
Tajikistan
Tanzania, United Republic of
Thailand
Timor-leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
United States Minor Outlying Islands
Uruguay
Uzbekistan
Vanuatu
Venezuela
Viet Nam
Virgin Islands, British
Virgin Islands, U.S.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe
Cascading: the second menu is enabled when an option in the first is chosen.
Select a manufacturer
Canon
Nikon
Olympus
Pentax
Select a model
Running an action on open & close. For example, resizing the width.
Option 1
Option 2
Option 3
Option 4
A select-multiple menu. Multiple options can be chosen by holding down the CTRL
(Command on a Mac) or SHIFT keys.
Multiple option 1
Multiple option 2, selected
Multiple option 3, selected, disabled
Multiple option 4, disabled
Multiple option 5
File uploads
In modern browsers, you can limit the size and type of each file. In this demo,
you can upload a PNG or JPEG file, up to a limit of 2 Mb. In those same modern
browsers, you will also have an upload progress bar as each file is uploaded.
Basic text fields
A text field with an in-field label
Text field with default text
An overflowing label
This field's label is not in-field
A textarea with a wrapping in-field label
Field validation
Plum has multiple validation methods. It includes three pre-defined matching methods
(email, telephone and URL) and two size methods: min and max. You can also match
exact strings or create a completely custom method.
When a form is submitted, any invalid fields prevent data from being sent. By default,
invalid fields have a quick "shake" animation applied to them to alert the user. This
is a configurable option, so if you don't like the animation, you can turn it off.
Phone number
Email address
URL
Custom validation example: The two password fields must match and must contain 3
letters followed by 3 numbers.
Password
Password retype
Basic buttons
Button (doesn't do anything)