Web SDKv1.0.0

PDFDocument.forms

Read and set form field values, with or without a viewer. fields() and getValues() throw FEATURE_NOT_LICENSED without extract; setValues() needs forms. See FormsApi.
getterNamespacessince 1.0.0

Signature

get forms(): FormsApi

Returns

FormsApi

Example

TypeScript
await doc.forms.setValues({ 'topmostSubform[0].Page1[0].f1_01[0]': 'Ada Lovelace' });

More in PDFDocument