Forma PDF

PDF template editor or a simple Generate PDF button?

By WVSTECH · Reviewed November 23, 2026 · Examples target SDK 0.4.0

Your customers do not need to see the Forma PDF playground. Use the full editor for people who design templates, and use a form or download button for people who only need to generate a document.

Three interfaces for three jobs

UserInterfaceSDK entry point
Template authorPages, fields and property controlscreateEditor
CustomerYour form and a PDF buttondownloadPDF
Application workflowNo editor screengeneratePDF

A minimal download action

button.addEventListener('click', async () => {
  button.disabled = true
  try {
    await downloadPDF(savedLayout, formValues, 'quotation.pdf')
  } catch (error) {
    showError(error.message)
  } finally {
    button.disabled = false
  }
})

savedLayout comes from a template saved earlier; formValues comes from your own screen. The variables and error UI belong to your app. Validate values and enforce record access before using real customer data.

Keep AI optional

AI may help an author create a first template, but customers can reuse it without supplying an API key. Opening the editor and invoking AI are separate choices. The live customer examples demonstrate simplified screens, while the playground shows the full design workspace.

Continue building

Try the visual editor View the SDK license