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

Merging my pdf form with a pdf from a Url

New Here ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

Hi

 

Imtrying to create a PDF form for someone to use as a proof of residence, on the first page is the form where the persons details are filled in that I managed fine.

 

Here's the tricky part:

 

Im looking for a JavaScript that will import a PDF document (the utilities account) from a url that requires login details, and then merge that pdf with page 1 of my form

 

Thanks

 

 

TOPICS
Create PDFs , Edit and convert PDFs , JavaScript , PDF forms

Views

436

Translate

Translate

Report

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 ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

That's not possible. A script can't log in to a site for you, unless it's possible to enter the username and password into the URL itself.

Votes

Translate

Translate

Report

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 ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

Ok, and considering we forget about the Login requirements , is the rest possible?

 

Votes

Translate

Translate

Report

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 ,
Apr 21, 2021 Apr 21, 2021

Copy link to clipboard

Copied

Yes, assuming it will only be used in Acrobat.

To do it you can use the following code:

 

this.getURL("http://myurl.com", true);

 

It will convert the contents of the URL in the first parameter to a PDF and then append it to the end of the current document.

Votes

Translate

Translate

Report

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 ,
Apr 21, 2021 Apr 21, 2021

Copy link to clipboard

Copied

Easy enough , Thanks

Votes

Translate

Translate

Report

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
LEGEND ,
Apr 21, 2021 Apr 21, 2021

Copy link to clipboard

Copied

LATEST

Just to repeat and emphasise: "assuming it will only be used in Acrobat." means "so everyone who uses the form must be paying for Acrobat". The free Reader will NOT work.

Votes

Translate

Translate

Report

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