Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.CreateSubmitAction

Creates a submit action.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.CreateSubmitAction"; PDF; Flags; URL )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags Additional flags
URL URL of the web server

Result

Returns action number or error.

Description

Creates a submit action.
A submit form action submits the field values of an interactive form to a web server. It is also possible to submit the entire PDF file; however, this feature requires the full version of Adobe's Acrobat (version 5 or higher).
Instead of simply submitting all field values to a web server it also possible to submit the values of specific fields only. The fields must be added to the action with the function DynaPDF.AddFieldToFormAction. The fields of the action can be included or excluded depending whether the flag Exclude was set or not.

See also CreateSubmitAction function in DynaPDF manual.

Examples

Create submit button:

Set Variable [ $SubmitButton; Value:MBS( "DynaPDF.CreateButton"; $pdf; "Submit"; "Submit"; -1; 300; 200; 100; 20 ) ]
Set Variable [ $SubmitAction; Value:MBS( "DynaPDF.CreateSubmitAction"; $pdf; "InclNoValFields¶PDF"; "https://yourdomain.com/php.php" ) ]
Set Variable [ $r; Value:MBS( "DynaPDF.AddActionToObj"; $pdf; "Field"; "OnMouseUp"; $SubmitAction; $SubmitButton ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 13th May 2023, last changed 27th August 2023


DynaPDF.CreateStructureTreeEx - DynaPDF.CreateTextField