Some test text!


Merge Form Data File (FDF) to PDF Forms using JavaScript

Only available with the Full API

To import XFDF into FDF, then merge data from FDF into PDF

// Import annotations from XFDF to FDF
async function main() {
  const fdf_doc = await PDFNet.FDFDoc.createFromXFDF(xfdf_filename);

  // Optionally read XFDF from a string
  const fdf_doc = await PDFNet.FDFDoc.createFromXFDF(xfdf_string);

  // Merge FDF data into PDF doc
  const doc = await PDFNet.PDFDoc.createFromURL(filename);
  await doc.fdfMerge(fdf_doc);

PDF Form fill and form data extraction
Full sample code which illustrates basic FDF merge/extract functionality and full support for FDF (Forms Data Format)

Get the answers you need: Support

PDFTron live tech update & run-through: Jan 20th at 11 am PT