I'm having a problem emailing a PDF form thatI've created. I've followed the following steps:
Modify the the standard Designer Email button to send the entire PDF.
1. Add an email button to your form.
2. Select the button and open the XML view
3. Scroll down to the "Event" tag
4. Inside the "Submit" tag, change:
format="xml" to format="pdf"
5. Switch back to the "Design View" and save the file
But when I try to email the form I get:
"The operation is not permitted"
Any suggestions?
Your button should be a "plain" Button (NOT the default "Email" button Designer has in the toolbars menu). Once you have a regular button placed in your form, open your script editor. Rather than using the "Submit" event, select "Click". Copy/paste in the following script exactly as shown:
event.target.submitForm({cURL:"mailto:supplierforum [at] youremail [dot] com?subject=Submitted Form&body=Please find attached the completed PDF form.",cSubmitAs:"PDF",cCharset:"utf-8"});Obviously, change out the sample text shown in quotes above to read as you want, including the email address it needs to go to. See if that works for you.