cancel
Showing results for 
Search instead for 
Did you mean: 

Check the attachments in PDF Form

Former Member
0 Kudos

I am currently working on a offline interactive form wherein the requestor is supposed to attach a file to his pdf Form before submitting. Now my requirement is to check if there is an attachment with the form(offline) on the click of the submit button.

If attachment is not there pop up an error messages "No attachements'.

Help is greatly appreciated ...

Accepted Solutions (0)

Answers (2)

Answers (2)

OttoGold
Active Contributor
0 Kudos

For reference:

I hope that works, I am not sure if I have tried that. Otto

OttoGold
Active Contributor
0 Kudos

Hello

var oObj = event.target;
var fileAttachments = oObj.dataObjects;//dataObjects returns all dataObjects(attachments)in the pdf
if(attachmentsList.length > 0) {  ... }

also search at google, you´ll find a page by Mr. Cameron where you can find the whole attachments demo solution.

Regards, Otto

Former Member
0 Kudos

Otto,

Kindly share how to attach files in a offline form.

Thanks & Regards

Vijai

Former Member
0 Kudos

Check this thread

Regards,

Chandran S