---
title: "Retrieving and putting values for PDF forms with Google Apps Script (and other PDF solutions)"
author: "Martin Hawksey"
date: 2023-08-02T21:00:19+00:00
canonical_url: https://pulse.appsscript.info/p/2023/08/retrieving-and-putting-values-for-pdf-forms-with-google-apps-script-and-other-pdf-solutions/
markdown_url: https://pulse.appsscript.info/p/2023/08/retrieving-and-putting-values-for-pdf-forms-with-google-apps-script-and-other-pdf-solutions.md
categories:
  - "Intermediate"
  - "Snippet"
  - "Solutions"
tags:
  - "tanaikech.github.io"
featured_image: https://pulse.appsscript.info/files/2023/08/fig1.png
description: "We've featured a couple of posts from Kanshi Tanaike on Pulse with solutions for handling/manipulating PDF Documents with Google Apps Script. This post on retrieving values from PDF Documents is just one in a series of recent contributions from Kanshi looking at how Google Apps Script can be used with PDFs: * Exporting Specific Pages From a PDF as a New PDF Using Google Apps Script * Management of PDF Metadata using Google Apps Script * Changing Order of Pages in PDF file using Google Apps Script All these examples use the PDF-LIB JavaScript library and as previously noted in the Pulse post Merging multiple PDF files as a single PDF and converting all the pages in a PDF to PNG images using Google Apps Script , with minor modification to can load this library into the Apps Script editor."
---

# Retrieving and putting values for PDF forms with Google Apps Script (and other PDF solutions)

![Retrieving and putting values for PDF forms with Google Apps Script (and other PDF solutions)](https://pulse.appsscript.info/files/2023/08/fig1.png)

> [https://tanaikech.github.io/2023/08/02/retrieving-and-putting-values-for-pdf-forms-using-google-apps-script/](https://tanaikech.github.io/2023/08/02/retrieving-and-putting-values-for-pdf-forms-using-google-apps-script/)
> This is a sample script for retrieving and putting values for PDF Forms using Google Apps Script.

We’ve featured a couple of posts from Kanshi Tanaike on Pulse with solutions for handling/manipulating PDF Documents with Google Apps Script. This post on retrieving values from PDF Documents is just one in a series of recent contributions from Kanshi looking at how Google Apps Script can be used with PDFs:

- [Exporting Specific Pages From a PDF as a New PDF Using Google Apps Script](https://tanaikech.github.io/2023/07/14/exporting-specific-pages-from-a-pdf-as-a-new-pdf-using-google-apps-script/)
- [Management of PDF Metadata using Google Apps Script](https://tanaikech.github.io/2023/07/24/management-of-pdf-metadata-using-google-apps-script/)
- [Changing Order of Pages in PDF file using Google Apps Script](https://tanaikech.github.io/2023/07/27/changing-order-of-pages-in-pdf-file-using-google-apps-script/)

All these examples use the PDF-LIB JavaScript library and as previously noted in the Pulse post [Merging multiple PDF files as a single PDF and converting all the pages in a PDF to PNG images using Google Apps Script ](https://pulse.appsscript.info/p/2023/01/merging-multiple-pdf-files-as-a-single-pdf-and-converting-all-the-pages-in-a-pdf-to-png-images-using-google-apps-script/), with minor modification to can load this library into the Apps Script editor.

Source: [Retrieving and Putting Values for PDF Forms using Google Apps Script**](https://tanaikech.github.io/2023/08/02/retrieving-and-putting-values-for-pdf-forms-using-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2023/08/retrieving-and-putting-values-for-pdf-forms-with-google-apps-script-and-other-pdf-solutions/](https://pulse.appsscript.info/p/2023/08/retrieving-and-putting-values-for-pdf-forms-with-google-apps-script-and-other-pdf-solutions/)*
