04-25-2012 03:38 PM
04-26-2012 02:44 AM
function onCustomValidation (classname, javaclassname, fieldprovidertype, fieldprovidername, fieldid, value)
{
if(classname=="cmis:document.cmis:name")
{
if(value.length>10)
{
//limit the string to the first 10 characters
document.getElementById(fieldid).value=value.substring(0,10);
return(" The maximum length of this property should be less than 10 characters.");
}
else
{
return(null);
}
}
return(null);
}
04-26-2012 03:04 PM
04-26-2012 03:12 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.