AutoExecuteFormScripts
Form fields, viewer interaction
Description
When True, an in-place form edit behaves like a desktop viewer: the committed value first runs the field's validation JavaScript (the V action) through ExecuteFormFieldScript, and after the value is stored dependent fields are recalculated and dirty form appearances are regenerated
The default is False: values are written as given and the host decides when scripting, recalculation and appearance regeneration run
Syntax
Delphi
Property AutoExecuteFormScripts: Boolean Read FAutoExecuteFormScripts Write FAutoExecuteFormScripts;Remarks
The gate is independent of InteractiveForms, which controls whether clicks and edits reach form fields at all; script execution happens on the attached library instance, so its script safety limits apply
See also
TPDFlibViewer, InteractiveForms, BeginEditFormField, CommitInplaceEditor, RecalculateFormFields