Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay 7.2, form design, custom validations,custom CSS,Page navigation
Pothapu Jagadeswara Reddy, modified 6 Years ago.
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.
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.
Enrique Valdes Lacasa, modified 5 Years ago.
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.
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.
?? How does your post apply to the questions of the OP?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™