Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is it possible to create a 'send by email' button/field without using lifecycle designer?

New Here ,
Mar 09, 2016 Mar 09, 2016

Is it possible to create a 'send by email' button/field without using lifecycle designer? Is it possible to flatten the document by default?

TOPICS
Acrobat SDK and JavaScript , Windows
422
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2016 Mar 09, 2016

Sure, you can add a button in Acrobat and then set its MouseUp action to submit the form by email.

As the target URL enter something like this:

mailto:me@server.com

(use your own email address, of course)

Flattening the file is only possible if the use has Acrobat. Assuming they use the free Reader the best that can be done is either to digitally sign the file, which doesn't flatten it but it does prevent the fields from being edited, or to set the fields as read-only using a simple script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 09, 2016 Mar 09, 2016

Great - thanks for this. So ignore the requirement to flatten, what script do i add in order to make it a 'send by email' button?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2016 Mar 09, 2016

You don't need any script. Just follow my instructions above.

If you get stuck specify at what point it happened, as well as your version of Acrobat.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 09, 2016 Mar 09, 2016
LATEST

Amazeballs - thanks very much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines