Is there a script or feature with a button or something that the user can add attachments to a PDF form just using Adobe Reader?? Thanks for any help on this.
Solved! Go to Solution.
Views
Replies
Total Likes
This is the script on the Add File button:
var myDoc = event.target;
var sFile = "myFile" + NumericField1.rawValue;
myDoc.importDataObject({cName: sFile});
var myDataObject = myDoc.getDataObject(sFile);
var sFileName = myDataObject.path;
ListBox1.addItem(sFileName,sFile);
NumericField1.rawValue = NumericField1.rawValue + 1;
You'll really need to look at it in Designer though to see how everything works.
Views
Replies
Total Likes
There's a sample form here with scripts: http://forums.adobe.com/message/1923918#1923918
(link doesn't seem to be going direct to the message - it's message number 271)
Note that Reader needs to be extended via the Reader Extensions server for file attaching to work.
Thanks for your reply. The issue is I don't have LiveCycle on this computer so I'm having trouble reading the script for the button. Is there a way you could email or post just the script to me. Thanks!
Views
Replies
Total Likes
This is the script on the Add File button:
var myDoc = event.target;
var sFile = "myFile" + NumericField1.rawValue;
myDoc.importDataObject({cName: sFile});
var myDataObject = myDoc.getDataObject(sFile);
var sFileName = myDataObject.path;
ListBox1.addItem(sFileName,sFile);
NumericField1.rawValue = NumericField1.rawValue + 1;
You'll really need to look at it in Designer though to see how everything works.
Views
Replies
Total Likes
Okay I typed in the script for the button. Is a window suppose to pop-up? Sorry I'm somewhat new at this scripting thing for Designer.
Views
Replies
Total Likes
Thank you, thank you I finally figured it out.
Views
Replies
Total Likes
Hi Catherine, glad you got it. Sorry I didn't get back to you I've been sick for the last few days.
Views
Replies
Total Likes
Views
Likes
Replies