Copy link to clipboard
Copied
Good day all,
I have some Java Script (below) for submitting a Form, my dilemma is the form is over 30 pages & I only want to send / attach specific pages not all pages, is there a way to adapt this code to pull out a page array or range? Thanks for any help guys - Marc
var customSubject = this.getField("Project").value;
var mailtoUrl = "mailto:me.me@me.com;him.him@him.com?subject=" + customSubject;
this.submitForm({
cURL: mailtoUrl, cSubmitAs: "PDF" });
Copy link to clipboard
Copied
This is the Using the Community forum (which is the forum for issues using the forums).
Please tell us what Adobe application you are using so that this can be moved to the proper forum for help.
Copy link to clipboard
Copied
Hi Peru Bob,
Sorry, PDF, using both adobe & PDF Expert on mobile devices, thanks 🙂
Copy link to clipboard
Copied
Sorry Marco but this is an Adobe product forum. PDF and PDF Expert are NOT Adobe products.
Unless you have Adobe Acrobat Standard or Acrobat Pro DC, we can't help you here.
Copy link to clipboard
Copied
Yes I use Adobe Acrobat Pro DC to create the forms
Copy link to clipboard
Copied
Is this form only going to be used in Adobe Acrobat (ie. not in Adobe Reader)?
Copy link to clipboard
Copied
And not possible with Adobe mobile software at all. Pretty much, the answer is no.
Copy link to clipboard
Copied
Not possible in Acrobat Reader.
Copy link to clipboard
Copied
Acrobat Reader cannot delete pages in a document.
By tinkering a little we can make it hide (so without really removing them) pages but it can only work with Adobe Reader XI and Acrobat Reader DC in desktop version.
Copy link to clipboard
Copied
Why not simply submit the form data only, and then import it on your end into a file that only contains the pages you're interested in?
Copy link to clipboard
Copied
Hey TRY67,
Thats interesting, do we have any threads on this process? Thanks guys
Copy link to clipboard
Copied
Not sure what you mean... All you need to do to achieve it is to change:
cSubmitAs: "PDF"
To:
cSubmitAs: "FDF"
The file that you will receive will be an .fdf file that will contain just the form data. You can then import it using Acrobat to a version of the file that only contains the pages you want, and it will import the data that matches the fields on those pages.
Copy link to clipboard
Copied
Understood TRY67, you'll have to excuse my ignorance, never done this before, I will give this a whirl today 🙂 Cheers - Marc