Data Validation regulare Epression
For Date Format : dd/mm/yyyy
regex:/(([0][1-9])|([1-2][0-9])|([3][0-1]))\/(([0][1-9])|([1][1-2]))\/\d{4}/
validate plugin
required
– Makes the element required.remote
– Requests a resource to check the element for validity.minlength
– Makes the element require a given minimum length.maxlength
– Makes the element require a given maximum length.rangelength
– Makes the element require a given value range.min
– Makes the element require a given minimum.max
– Makes the element require a given maximum.range
– Makes the element require a given value range.step
– Makes the element require a given step.email
– Makes the element require a valid emailurl
– Makes the element require a valid urldate
– Makes the element require a date.dateISO
– Makes the element require an ISO date.number
– Makes the element require a decimal number.digits
– Makes the element require digits only.equalTo
– Requires the element to be the same as another one
Comments
Post a Comment