Want to add submit button to Adobe Acrobat fillable form

Hello - - I want to create a fillable adobe acrobat form and post it to my website.

I know how to create the fillable form however I can not figure out how to add a button (submit ??) that when pressed will send the entire filled out form to an email receipient as an attachment.

Is there a way to do this ?

thanks
kpdonahueAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mohan_sekarCommented:
Just add a button from the toolbar to the form, right click and select 'Properties', click on 'Actions' tab, select Run a javascript' from the 'Select Action' drop down and click on 'Add'. You'll get the script window. Copy and paste the following code in there

this.mailDoc({
bUI: false,
cTo: "test@test.com",
cCC: "testCC@test.com",
cSubject: "Subject",
cMsg: "Here goes the message."
});

NOTE: Replace dummy email addresses with real addresses.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kpdonahueAuthor Commented:
Ok - - tried this and it works (kinda)

it opens the default email client

is there a way to just "send" without opening the email client?

thanks
0
mohan_sekarCommented:
No, the method relies on the email client. Other way is to "submit" the form to a jsp/asp/php page and have that page send an email with the PDF as an attachment.
0
kpdonahueAuthor Commented:
Very Weird - - its not working

I added the JS and when I press the submit button, my default email client opens with the PDF already inserted and the To: field populated (used my email address for test).

When I hit sent the message appears to go out however I don't receive it.  Its not in my Sent Items either.

If I just open Outlook and insert the same PDF and hit send, it gets delivered to my mailbox

Any idea why this is not working?
0
mohan_sekarCommented:
That's weird! Can you try it one some other machine?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Acrobat

From novice to tech pro — start learning today.