Scribus Forums

Scribus => PDF Generation => Topic started by: roland on May 24, 2014, 08:32:00 AM

Title: Sending filled PDF by mail
Post by: roland on May 24, 2014, 08:32:00 AM
Hello,

I'm trying to create a form with a send button, that will send the filled PDF by mail.
I've created a button with a javascript event:
this.mailDoc();

When testing the form, I can fill in the fields, push the button and my outlook opens with the PDF as attachment. But all I will receive is an empty PDF. All values I've filled in before are gone.

On the other side, when I fill all fields in the form, save it by the "save" button off the PDF viewer and then push the send button of my form, the attachment will contain everything I've typed in.

Is there a way, I can emulate the save event with javascript?

Or is there another way to send the complete (filled) form by mail?

Any idea is very welcome...

Thanks,
Roland