Form Validation in Liferay

Objective:
 
Perform form validation in liferay development.
 
Approaches to achieve
 
Liferay form validation we can do in different approaches.
 
The following are the ways
 
  1.  Liferay AUI Validator Tag
  2.  Liferay Form Validator
  3. AUI Form Validator

 

Liferay Validator Tag:
 
Liferay have come with AUI validator JSP tag we can use this JSP tag and we can perform the form validations.
 
The following is complete tutorial about Liferay AUI Validator Tag
 
 
Liferay Form Validator:
 
This is simple AUI java script validator which is written by liferay people to do form validations. This script inherit the base properties from pure AUI form Validator
 
This java script implemented in  liferay-form.js file in lifeay
 
The following is complete tutorial about Liferay Form Validator
 
 
AUI Form Validator
 
AUI Form Validator is come from AUI library. This is pure AUI form validator.
Liferay Form Validator extends by AUI Form Validator.
 
The following is tutorial about AUI Form Validator
 
 
Author
Meera Prince
 
2
Blogs
Hi,
Could you help me to set maxlength for <liferay:custom-attribute .../>

Regards.
Hi,
Could you help me to set maxlength for <liferay:custom-attribute .../>

Regards.