Form and Form Validation
Required Form Fields
Autofill
Clear
Submit
* indicates the field is required
Input (text)
Text Input *
Please provide a value
The value provided has unacceptable characters
Input (text) is required
Cannot be empty
Is alphanumeric (+french characters): /^[A-Za-z\u00E0-\u00FC\d]+$/
Examples: First Name, Last Name, Address
Input (number)
Number *
Please provide a number
The value provided has unacceptable characters
Input (number) is required
Cannot be empty
Is numeric: /^\d+$/
Examples: YYYYMMDD, YYYY, MM, DD, hh, ss
Input (email)
Email *
Please provide a value
The value provided does not match an email format
Input (email) is required
Cannot be empty
Is email: /^(([^<>>()[\]\\.,;:\s@"]+(\.[^<>>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
Input (postal code)
Postal Code *
Please provide a value
The value provided does not match the postal code format
Input (postal code) is required
Cannot be empty
Is postal code: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/
Input (zip code)
Zip Code *
Please provide a value
The value provided does not match a zip code (e.g. 90210)
Input (zip code) is required
Cannot be empty
Is postal code: /(^\d{5}$)|(^\d{5}-\d{4}$)/
Input (password)
Create a password *
Please provide a value
Minimum 8 characters
Minimum 1 number
Minimum 1 special character
Minimum 1 lower case letter
Minimum 1 upper case letter
Verify your password *
Please provide a value
Minimum 8 characters
Minimum 1 number
Minimum 1 special character
Minimum 1 lower case letter
Minimum 1 upper case letter
Matching
Input (Disabled)
Input (Disabled)
Select / Dropdown
Option One
Option Two
Option Three
Option Four
Option Five
Option Six
Option Seven
Option Eight
Select / Dropdown *
Please select an option
Helper Text
Alberta
British Columbia
Manitoba
New Brunswick
Newfoundland and Labrador
Nova Scotia
Ontario
Prince Edward Island
Quebec
Saskatchewan
Northwest Territories
Nunavut
Yukon
Province/Terrority *
Please select an option
Provinces (EN)
Alberta
Colombie-Britannique
Manitoba
Nouveau-Brunswick
Terre-Neuve-et-Labrador
Nouvelle-Écosse
Ontario
Île-du-Prince-Édouard
Québec
Saskatchewan
Territoires du Nord-Ouest
Nunavut
Yukon
Province/Territoire *
Please select an option
Provinces (FR)
January
February
March
April
May
June
July
August
September
October
November
December
Month *
Please select an option
Month (EN)
janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
november
décembre
mois *
Please select an option
Month (FR)
Traditional Checkboxes
Checkbox Label
Checkbox Label
Checkbox (Disabled) Label
Please select an option
Parent-Child Checkboxes
Parent Checkbox Label
Checkbox Label
Checkbox Label
Checkbox Label
Traditional Box Checkboxes
Checkbox Label
Checkbox Label
Checkbox (Disabled) Label
Please select an option
Parent-Child Box Checkboxes
Parent Checkbox Label
Checkbox Label
Checkbox Label
Checkbox Label
Card Checkbox
Card checkboxes *
Card Checkbox Label 1
Card Checkbox Label 2
Please select an option
Traditional Radio Buttons
Traditional radio buttons *
Radio Button 1
Radio Button 2
Radio Button 3
Please select an option
Box Radio Buttons
Box radio button *
Yes
No
Please select an option
Card Radio Buttons
Card radio button *
Card Radiobutton Label 1
Card Radiobutton Label 2
Please select an option
Select All (Box Checkbox)
Required Select All (Box Checkbox) not applicable
Select All (Switch: Button)
Required Select All (Switch: Button) not applicable
Textarea
Textarea *
Please provide a value
Textarea is required
Textarea will expand as you type
Cannot be empty
Textarea (Disabled)
This is a disabled textarea
Textarea (Disabled)
Textarea error
Slider
Slider Example:
Slider
1
25
50
75
100
Slider Example:
Slider
1
25
50
75
100
Range Slider
Range Slider Example:
Slider 1 Value
Slider 2 Value
Slider 1
Slider 2
-100
0
100
Range Slider Example:
Range Slider Example:
Slider 3 Value
Slider 4 Value
Slider 3
Slider 4
-100
0
100
Switch (button implementation)
Example w/ Label
Example w/o Label
Type
Size
off
on
Label
off
on
Label
off
on
off
on
Regular
Regular
Attr
off
on
Label
Attr
off
on
Label
Attr
off
on
Attr
off
on
Inner label
Regular
off
on
Label
off
on
Label
off
on
off
on
Regular
Small
Attribute
off
on
Label
Attribute
off
on
Label
Attribute
off
on
Attribute
off
on
Inner label
Small
off
on
Label
off
on
Label
off
on
off
on
Background change
Regular
off
on
Label
off
on
Label
off
on
off
on
Thumb change
Regular
off
on
Label
off
on
Label
off
on
off
on
Background change
Small
off
on
Label
off
on
Label
off
on
off
on
Thumb change
Small
off
on
Label
off
on
Label
off
on
off
on
Background and thumb change
Regular
off
on
Label
off
on
Label
off
on
off
on
Background and thumb change
Small
off
on
Label
off
on
Label
off
on
off
on
Blue theme
Regular
off
on
Label
off
on
Label
off
on
off
on
Red theme
Small
Attr
off
on
Label
Attr
off
on
Label
Attr
off
on
Attr
off
on
Blue theme
Inner Label
No Thumb
Regular
Attr
off
on
Label
Attr
off
on
Label
Attr
off
on
Attr
off
on
Red theme
Inner Label
No Thumb
Small
Optional Form Fields
Autofill
Autofill: Invalid Information
Clear
Submit
Input (text)
Text Input
The value provided has unacceptable characters
Input(text) is optional, is alpha_numeric format
Input (number)
Number
The value provided has unacceptable characters
Input(number) is optional, is numeric format
Input (email)
Email
The value provided does not match an email format
Input(email) is optional and is email format
Input (postal code)
Postal Code
The value provided does not match a postal code format (e.g. A1B2C3)
Postal Code is optional, is postal code format
Input (zip code)
Zip Code
The value provided does not match a zip code format (e.g. 90210)
Zip Code is optional, is zip code format
Input (password)
Create a password
Please provide a value
Minimum 8 characters
Minimum 1 number
Minimum 1 special character
Minimum 1 lower case letter
Minimum 1 upper case letter
Verify your password
Please provide a value
Minimum 8 characters
Minimum 1 number
Minimum 1 special character
Minimum 1 lower case letter
Minimum 1 upper case letter
Matching
Input (Disabled)
Optional Input (Disabled) not applicable
Select / Dropdown
Option One
Option Two
Option Three
Option Four
Option Five
Option Six
Option Seven
Option Eight
Select / Dropdown
Helper Text
Alberta
British Columbia
Manitoba
New Brunswick
Newfoundland and Labrador
Nova Scotia
Ontario
Prince Edward Island
Quebec
Saskatchewan
Northwest Territories
Nunavut
Yukon
Province/Terrority
Provinces (EN)
Alberta
Colombie-Britannique
Manitoba
Nouveau-Brunswick
Terre-Neuve-et-Labrador
Nouvelle-Écosse
Ontario
Île-du-Prince-Édouard
Québec
Saskatchewan
Territoires du Nord-Ouest
Nunavut
Yukon
Province/Territoire
Provinces (FR)
January
February
March
April
May
June
July
August
September
October
November
December
Month
Month (EN)
janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
november
décembre
mois
Month (FR)
Traditional Checkboxes
Checkbox Label
Checkbox Label
Checkbox (Disabled) Label
Parent-Child Checkboxes
Parent Checkbox Label
Checkbox Label
Checkbox Label
Checkbox Label
Traditional Box Checkboxes
Checkbox Label
Checkbox Label
Checkbox (Disabled) Label
Parent-Child Box Checkboxes
Parent Checkbox Label
Checkbox Label
Checkbox Label
Checkbox Label
Card Checkbox
Card checkboxes
Card Checkbox Label 1
Card Checkbox Label 2
Traditional Radio Buttons
Traditional radio buttons
Radio Button 1
Radio Button 2
Radio Button 3
Box Radio Buttons
Box radio button
Yes
No
Card Radio Buttons
Card radio button
Card Radiobutton Label 1
Card Radiobutton Label 2
Select All (Box Checkbox)
Checkbox 1
Checkbox 2
Checkbox 3
All
None
Some
Select All (Switch: Button)
Switch 1
off
on
Switch 2
off
on
Switch 3
off
on
All
None
Some
Textarea
Textarea
Please provide a value
Textarea is optional
Textarea (Disabled)
Optional Textarea (Disabled) not applicable
Slider
Optional slider not applicable
Range Slider
Optional two point slider not applicable
Switch (button implementation)
Optional switch not applicable
×
Required Form Submission Successful!
×
Optional Form Submission Successful!