fdf_set_submit_form_action — Sets the submit form
action for a field.
bool fdf_set_submit_form_action(fdfdoc, fieldname, whichtrigger, url, flags);
resource fdfdoc: FDF
string fieldname: Field
int whichtrigger: Trigger
string url: URL to call
int flags: Flags
TRUE on success; FALSE on error
Sets a submit form action for the given field fieldname . whichtrigger can be one of
FDFEnter (entering the field), FDFExit
(leaving the field), FDFDown (mouse button down)
or FDFUp (mouse button up).
flags can be one of the
Include/exclude flag. This determines how the
Fields key is interpreted. If this bit is 0,
Fields represents the individual fields to send.
If the bit is 1, all name-value pairs in the
Acrobat form are sent.
Include no-value fields flag. Use to further
restrict which name-value pairs get sent. A field
is present but the data is not sent.
Export format flag. If this bit is 0, the data is
sent using the Forms Data Format (FDF). Otherwise
it is sent using the HTML form format.
Get Method flag. If this bit is 0, the data is
submitted using a POST action; if it's 1, a GET
action is used for the submission. (This bit has
an effect only when bit 3 is 1. If bit 3 is 0,
this bit must also be 0.)
Submit Coordinates flag. If this bit is 1, the x
and y coordinates of the mouse click that caused
this action are sent as part of the Acrobat form
data. The x and y values are relative to the
upper-left corner of the widget that contains the
Existing since version 4.0.2
PHP Functions Essential Reference. Copyright © 2002 by New Riders Publishing
(Authors: Zak Greant, Graeme Merrall, Torben Wilson, Brett Michlitsch).
This material may be distributed only subject to the terms and conditions set forth
in the Open Publication License, v1.0 or later (the latest version is presently available at
The authors of this book have elected not to choose any options under the OPL. This online book was obtained
and is designed to provide information about the PHP programming language, focusing on PHP version 4.0.4
for the most part. The information is provided on an as-is basis, and no warranty or fitness is implied. All
persons and entities shall have neither liability nor responsibility to any person or entity with respect to
any loss or damage arising from the information contained in this book.