Expand my Community achievements bar.

Specifying which part of form to send via submit email button

Avatar

Level 4

Good morning everyone,

I was wondering if it’s possible, programmatically, to specify which part of my PDF form to send via the submit email button.

My form as 2 pages, of which only one of them is important enough to send via submit email button.

Is there a way to accomplish this at all?

When i open my PDF, my fisrt page is shown.

I press a button on that page and it puts the first page in hidden mode and shows the second page.

On my second page, i have a submit button, how can i set it to only send the info on page 2?

Thank you very much,

Patrick

2 Replies

Avatar

Level 4

turns out i figured it out. Simply use javascript and before using the app.mailMsg function for example, you just make sure you hide (programatically) all the stuff you dont want to see, like extra pages, buttons, etc...

Then you use the mailMsg function and it takes a snap shop of what is currently happening and sends only that into the email.

Avatar

Level 1

Any chance you can share the file you did this with, or maybe the script?  I want to do something similar but I'm not advanced enough to figure out how to programatically hide things etc. without a little more detail.  Thanks!