Message Boards

Liferay 7.2, form design, custom validations,custom CSS,Page navigation

Pothapu Jagadeswara Reddy, modified 4 Years ago.

Liferay 7.2, form design, custom validations,custom CSS,Page navigation

New Member Posts: 4 Join Date: 7/23/19 Recent Posts
Hi All, I am new to liferay. I am using liferay 7.2 version to design a website. I am able to create forms from liferay forms. But have doubts like 
1. How to do custom validation for the form fields    2.How to apply custom CSS for each form fields  in liferay forms   3.How to fire event for button and do validations.  4. After validation, how to call REST APIAfter REST API call, conditionally, 5 .how can I navigate to pages   
  Appreciate your help on this.
thumbnail
Enrique Valdes Lacasa, modified 3 Years ago.

RE: Liferay 7.2, form design, custom validations,custom CSS,Page navigation

Junior Member Posts: 92 Join Date: 7/29/14 Recent Posts
Hello Pothapu Jagadeswara Reddy,

I suggest you use a mix of AUI and Clay.  Whenever you try to build a UI element, 1) try to find a Clay component that suits 2) if you don't find it, use AUI. AUI will be specially of great help to you in the validation side. On the other hand, for the navigation, I recommend you this article titled "Applying Clay Patterns to Navigation":

https://help.liferay.com/hc/en-us/articles/360029848311-Applying-Clay-Patterns-to-Navigation

It's a good tutorial to get a grasp on how Clay is used.

Both libraries can have a learning curve, but once you get around them, you'll be able to build many solutions creating Liferay UI components in the JSPs.
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Liferay 7.2, form design, custom validations,custom CSS,Page navigation

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
?? How does your post apply to the questions of the OP?