留言板

Using Javascript Validations in Webform Portlet

RAK ePortal,修改在9 年前。

Using Javascript Validations in Webform Portlet

New Member 帖子: 2 加入日期: 13-8-14 最近的帖子
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;