Unable to Attach Fillable PDF Forms to Email via Javascript
Hi everyone
I’m new here and not experienced with JavaScript. I’m facing a strange issue with attaching a fillable form, and I’ll try to explain it clearly.
I’ve created a fillable form using JavaScript, and everything works perfectly on my computer as it captures the details, sets the subject based on the form input, and attaches the PDF to an email.
I encountered the problem when I tried to open the form via Vmware Content Locker.
When I click the submit button, the script triggers to open the native mail app, and sets the subject based on the form input, however, it does not attach the PDF file.

To further test, I created another submit button using the “submit a form” method.
When I tap this submit button, it triggers the mail app and successfully attaches the PDF.
Does anyone know the difference between these two methods of attaching the file to the email?
Also, is there any other way to attach a PDF to an email besides “this.mailDoc”?
Any help or advice would be greatly appreciated, Thank you
