The validate tag has its contents added as a class to the eventual input element. Here are the standard tests that come with Magento’s form validation. For more info refer magento blog.
validate-admin-password
validate-ajax
validate-alpha
validate-alphanum
validate-cc-cvn
validate-cc-exp
validate-cc-number
validate-cc-type
validate-cc-type-select
validate-clean-url
validate-code
validate-cpassword
validate-css-length
validate-currency-dollar
validate-data
validate-date
validate-date-au
validate-digits
validate-email
validate-fax
validate-greater-than-zero
validate-identifier
validate-length
validate-new-password
validate-not-negative-number
validate-number
validate-one-required
validate-one-required-by-name
validate-password
validate-percents
validate-phone
validate-select
validate-ssn
validate-state
validate-street
validate-url
validate-xml-identifier
validate-zero-or-greater
validate-zip
validate-zip-international
————————————————————————————————————————————- Corner of Blog:
“Don’t use mobile while Driving”
————————————————————————————————————————————-
One thought on “Validate Class in magento”
Post some snippet code – how to use/implement. – Thanks
Post some snippet code – how to use/implement. – Thanks