Add novalidate attribute to form tag.
novalidate
Add required attribute to field for required validation.
required
Add data-validation-match-match attribute with the field name as value to match with it.
data-validation-match-match
Add maxlength attribute for maximum number of characters to accept. Also use data-validation-maxlength-message attribute for maxlength failure message
maxlength
data-validation-maxlength-message
Add minlength attribute for minimum number of characters to accept. Also use data-validation-minlength-message attribute for minlength failure message
minlength
data-validation-minlength-message
Add max attribute for maximum number to accept. Also use data-validation-max-message attribute for max failure message
max
data-validation-max-message
Add min attribute for minimum number to accept. Also use data-validation-min-message attribute for min failure message
min
data-validation-min-message
Add data-validation-required-message attribute for Custom required failure message
data-validation-required-message
Add pattern attribute to set input pattern. Also use data-validation-pattern-message attribute for pattern failure message
pattern
data-validation-pattern-message
Add data-validation-regex-regex attribute for regular expression. Also use data-validation-regex-message attribute for regex failure message
data-validation-regex-regex
data-validation-regex-message
Select any 2 options