Form Validation

This is a demo of a required field that must not leave empty.

Attribute Description
data-parsley-validate Parsley the validator looks at all data-parsley-validate occurrences in DOM on document load and automatically binds them if valid.
required Validates that a required field has been filled with a non blank value.

A demo of an email field that is required and must also be a valid email address. It automatically validate an email when the field is in type="email".

A demo of checkboxes that must be selected at least two fom any given list.

What is your favorite browser? *

Attribute Description
data-parsley-validate Parsley the validator looks at all data-parsley-validate occurrences in DOM on document load and automatically binds them if valid.
required Validates that a required field has been filled with a non blank value.
data-parsley-mincheck="2" Validates that a certain minimum number of checkboxes in a group are checked.
data-parsley-class-handler="#cbWrapper" Specify the existing DOM container where ParsleyUI should add error and success classes.
data-parsley-errors-container="#cbErrorContainer" Specify the existing DOM container where ParsleyUI should put the errors.

A demo of select boxes that must be selected at least one fom any given option.

A demo for using custom layout for validation.

A demo for using custom styled messages for error container.

What is your favorite browser? *