Using form validation on fields

Optional text field without any restrictions

Required text field with min and max length

Letters only

Digits only

Alpha-num and minus symbol

Optional email field

Required email field

Optional number field without limits

Required number field with min and max value

Optional date field without limits

Required date field with min and max date

Required date field with min and max age

Optional money field without limits

Required money field with min and max value

Optional radio field

Required radio field

Optional checkbox field

Required checkbox field

Required select and rich-select field

Proving error messages on inputs

No label

Positive messages

Stand-alone messages

Something great has happened.

This is a warning.

Something rather bad has happened.