Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

maxChars

Avatar

Not applicable
Hi I have the next code



var oNodosPpal=subForm.nodes

var nNodosLenthPpal=oNodosPpal.length;

var oNodes=0;



for (var nNodeCountPpal = 0; nNodeCountPpal < nNodosLenthPpal; nNodeCountPpal ++ )

{

if (oNodosPpal.item(nNodeCountPpal).ui.oneOfChild.className == "textEdit")

{

var long= xfa.resolveNode(oNodosPpal.item(nNodeCountPpal).value.("#text").maxChars);

xfa.host.messageBox(""+long);

}

}



I need to know as is the maxChars of each field of my subForm



Thanks for your help



J
0 Replies