- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hey,
Thanks a bunch, first one works like a charm!
The attachmentbutton however. I'm currently using a totally different script (found it online);
form1.#subform[0].Button1[1]::click - (JavaScript, client)
var AttachmentDescription = this.name;
AttachmentDescription.rawValue = "New Attachment" + AttachmentDescription.rawValue;
var strAttachmentName = AttachmentDescription.rawValue;
var myDoc = event.target;
myDoc.importDataObject(strAttachmentName);
var objDoc = myDoc.getDataObject(strAttachmentName);
var FileName = "";
FileName.rawValue = objDoc.path;
//this.presence = "invisible";
AttachmentDescription.access = "protected";
This works perfectly for me, but perhaps it's not compatible with the second button I need?
Btw, I do have LiveCycle Reader Extensions.
Again, thanks, and thanks in advance!
Anton B.
Views
Replies
Total Likes