Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 12.2 12.3 12.4 12.5 13.0 13.1 13.2 13.3 13.4 13.5 Statistic FMM Blog
Adds a field to a form action.
|DynaPDF||13.3||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|The PDF reference returned from DynaPDF.New.|
|ActionHandle||Handle of a submit or reset form action.|
|FieldHandle||Handle of a field that should be added to array.|
|Include||Include or exclude this field from submitting?
Pass 0 to exclude or 1 to include.
Returns OK or error.
DescriptionAdds a field to a form action.
Instead of simply submitting all field values of an interactive form to a web server, it is also possible to submit the values of specific fields only. A submit form and reset form action can hold an optional array of fields which can be included or excluded from the action. For example, if a form contains 20 fields which all should be submitted to the web server apart from two of those fields, then add the two fields to the submit form action and set the parameter Include to false.
Note, that parameter Include is handled reversed if the submit flag sfExclude is set (see also DynaPDF.CreateSubmitAction, DynaPDF.CreateResetAction). The fields are then excluded if Include is true and vice versa.
See also AddFieldToFormAction function in DynaPDF manual.
- Version 13.3
This function checks for a license.
Created 13th May 2023, last changed 14th May 2023