Add Subform dynamically,on click of Button, in Interactive form generated by Adobe Document Services


hi,
i have xdp file designed adobe designer 7.1 following hierarchy of elements:
-form1(root)
--button
--tmpform (subform - repeat subform each data entry )
---st (text)

now, xdp file generates interactive pdf form reader rights enabled adobe document services.

on click of button, following javascript executed on client side:

var df = _tmpform.addinstance(1);
df.st.rawvalue = "hi" ;
xfa.host.messagebox( "instances" + tmpform.all.length ) ;

on clicking button, length of instances of subform , size increases on each click, no element added "visibly" pdf.
but when try same saving xdp file dynamic pdf form acrobat 8.0,and open using adobe acrobat pro 8.0, works fine.
my question is,i s not possible add subforms dynamically in pdf's generated adobe document services reader rights enabled?
or, there missing?
please guide.
thanks.
regards,
siddhartha



More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments