- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
you can check the number of attachments the following way:
if (event.target.dataObjects) {
// When there are attachments
var o = event.target.dataObjects.length;
xfa.host.messageBox("There " + (o > 1 ? "are " : "is ") + o + (o > 1 ? " files" : " file") + " attached.");
} else {
// When there are no attachments
xfa.host.messageBox("There are no files attached");
}
Views
Replies
0 Likes
Total Likes