Copy link to clipboard
Copied
Hello everybody,
I have a task to do on an Acrobat PDF form, and I have sadly no knowledge on Javascript at all : if a good soul could give me the correct script to paste in my form, it would clearly make my day 🙂
I have an email field named "mail", a multiple list field (3 choices : A, B and A+B), and a "send email" button.
I need the button to send an email to the email adress which is written in the "mail" field,
with the automatic filling of the email subject with a standard phrase (for example "hello, this is your mail"),
and I need the script to extract a selected page depending on the multiple list field choice (for example A = page 2, B = page 3 and A+B = pages 2+3) and to attach it to the mail.
I really tried to understand how javascript works, but I have no knowledge in computer languages, 2 baby twins at home and I clearly miss the time at the moment...
Thank you in advance
Regards
Julien
Copy link to clipboard
Copied
First part is easy to do, second part is much more complicated, and will only work if the file is only opened in Acrobat (not in the free Reader) AND if a script file can be installed on the local computer of each user. Is that the case in your situation? If not, the only thing you can do is attach the entire file as a whole.
Copy link to clipboard
Copied
thank you for your answer
the file will only opened on my computer which uses Acrobat