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

XML signature in huge form

Avatar

Level 2

Hi,

I have an eForm with 400+ fields. I have to apply XML signature on this form. For this, I have written following code on mousedown event of signature field:

var oSigs = xfa.signature.enumerate();

var iNum = oSigs.length;

if(iNum==0){

var oData = xfa.resolveNode("xfa.data.MainForm");

xfa.signature.sign(oData,"xfa.data.signatures", "Employer");

}

else if (iNum==1) {

for (var i=0; i < iNum; i++)

{

    var oChild = oSigs.item(i);

    xfa.signature.clear(oChild);

   

}

}

On applying XML signature it is taking too much time. In fact, sometimes I have to kill Adobe Reader process from Task Manager. Is it becuase of enormity of the form? The same scenario is working fine for smaller forms.

0 Replies