Reputation: 1211
How can I build my own form in Liferay? Do I need to first create a hook or portlet and then edit the files there or is there some framework or templates I could use for making a customized form? I just need steps how to approach this, no ready made solutions. Thanks in advance!
Upvotes: 0
Views: 561
Reputation: 618
You can create a portlet ( LiferayMVC or Spring-MVC ) using JSP, or you create an HTML form using UI taglibs ...
Exemple:
<aui:form action="<%= myActionURL %>" method="post" name="myForm">
<aui:input label="My Text Input" name="myTextInput" type="text"
value='<%= "My Text Value" %>' />
<aui:button type="submit" />
</aui:form>
Please refere to this link : Liferay_HTML_Form
Upvotes: 0
Reputation: 4210
If you are asking to have dynamic form and capturing/accessing data, Dynamic Data Lists or Web Form portlet can be helpful to you.
Please refer to Liferay's Documentation Link : Using Web Forms and Dynamic Data Lists
Upvotes: 1