I am working on a template that has a table with rows added at the run time. I have to attach fields in each row to an XML tag and child tags. I am using SOM Expression to identify each field in the run time. I have written the code to go in a loop and bind the field at run time but it was not working. So I am just kind of trying out for binding one field using the SOM Expression.
This code was written in the initialize event of the TextField2 with Java Script as the scripting language.
var fieldPath = xfa.resolveNode("xfa[0].template[0].Message[0].Page1[0].Table1[0].Row1[" + 0 +"].TextField2[0]");
fieldPath.bind.ref = "$record.COMMAND.sendApplicationInformationRequest.formNumber";
xfa.form.remerge;
I also tried by changing the reference this way but no luck..
var fieldPath = xfa.resolveNode("xfa.template.Message.Page1.Table1.Row1[" + 0+ "].TextField2");
Can any one help on this?
Thank you
Srini
Views
Replies
Total Likes
Rather than write script use the InstanceManager to add/delete rows.
I have attached a sample dynamic PDF that uses InstanceManager to enable row addtion/deletion. I have included the embedded schema and an XML instance to test in Preview PDF.
Steve
Views
Replies
Total Likes
Appears that only 2 attachments at a time are permitted.
Views
Replies
Total Likes
Hi Steve,
Thank you for your response..
I could not able to open your attachments.. They both say QUEUED..
Thanks
Srini
Views
Replies
Total Likes
Please send an email to stwalker.adobe@gmail.com and I will forward the samples.
Views
Likes
Replies
Views
Likes
Replies