Foros de discusión
How to achieve DDL form validation and creating new field?
Gowthamraja Mohan, modificado hace 7 años.
How to achieve DDL form validation and creating new field?
New Member Mensajes: 2 Fecha de incorporación: 21/06/16 Mensajes recientes
Hi Team,
Please help us to achieve below requirements in DDL.
1. How we can achieve the client side validation in Dynamic Data lists from for text field to allow only ten characters.
I've seen the below code for text field in the from creation as the XML and how we can achieve validation in that ?
<root available-locales="en_US" default-locale="en_US">
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="Text7241" readOnly="false" repeatable="false" required="false" showLabel="true" type="text" width="small">
<meta-data locale="en_US">
<entry name="label">
<![CDATA[Text]]>
</entry>
<entry name="predefinedValue">
<![CDATA[]]>
</entry>
<entry name="tip">
<![CDATA[]]>
</entry>
</meta-data>
</dynamic-element>
</root>
2. Please help us how we can create new field called "email" in DDL Form ?
We are using Liferay Portal Enterprise Edition 6.2.10 EE GA1 version.
Please help us to achieve below requirements in DDL.
1. How we can achieve the client side validation in Dynamic Data lists from for text field to allow only ten characters.
I've seen the below code for text field in the from creation as the XML and how we can achieve validation in that ?
<root available-locales="en_US" default-locale="en_US">
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="Text7241" readOnly="false" repeatable="false" required="false" showLabel="true" type="text" width="small">
<meta-data locale="en_US">
<entry name="label">
<![CDATA[Text]]>
</entry>
<entry name="predefinedValue">
<![CDATA[]]>
</entry>
<entry name="tip">
<![CDATA[]]>
</entry>
</meta-data>
</dynamic-element>
</root>
2. Please help us how we can create new field called "email" in DDL Form ?
We are using Liferay Portal Enterprise Edition 6.2.10 EE GA1 version.