Forums de discussion

Using Javascript Validations in Webform Portlet

RAK ePortal, modifié il y a 9 années.

Using Javascript Validations in Webform Portlet

New Member Publications: 2 Date d'inscription: 14/08/13 Publications récentes
Hi,

We are using Webform Portlet and trying to use Javascript validations using the following steps.

Step 1: I have placed below property in portal-ext.properties

validation.script.enabled=true

Step 2: I have used below script Validation Script:

if(currentFieldValue.length >=10)
{
return true;
}else{
return false;