THotPDF.AttachFieldValidateAction Method
Provides attach field validate action behaviour for the AcroForm workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
procedure AttachFieldValidateAction(const FieldName: AnsiString; const JavaScriptBody: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldName | AcroForm field name or field dictionary targeted by the helper |
JavaScriptBody | Input used by AttachFieldValidateAction |
Return value
This member does not return a value
Usage notes
- Use this API in the AcroForm workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised