You are here: Home // Forms Data Format functions
fdf_set_javascript_action
(PHP4 CVS only)
fdf_set_javascript_action – Sets an javascript action of a field
Description
void fdf_set_javascript_action (int fdf_document, string fieldname, int trigger, string script)
The fdf_set_javascript_action() sets a javascript action for the given field fieldname.
fdf_set_submit_form_action
(PHP4 CVS only)
fdf_set_submit_form_action – Sets an javascript action of a field
Description
void fdf_set_submit_form_action (int fdf_document, string fieldname, int trigger, string script, int flags)
The fdf_set_submit_form_action() sets a submit form action for the given field fieldname.
fdf_set_opt
(PHP4 CVS only)
fdf_set_opt – Sets an option of a field
Description
void fdf_set_opt (int fdf_document, string fieldname, int element, string str1, string str2)
The fdf_set_opt() sets options of the given field fieldname.
fdf_set_flags
(PHP4 CVS only)
fdf_set_flags – Sets a flag of a field
Description
void fdf_set_flags (int fdf_document, string fieldname, int whichFlags, int newFlags)
The fdf_set_flags() sets certain flags of the given field fieldname.
fdf_get_file
(PHP3 >= 3.0.6, PHP4 )
fdf_get_file – Get the value of the /F key
Description
string fdf_get_file (int fdf_document)
The fdf_set_file() returns the value of the /F key.
fdf_set_file
(PHP3 >= 3.0.6, PHP4 )
fdf_set_file – Set the value of the /F key
Description
void fdf_set_file (int fdf_document, string filename)
The fdf_set_file() sets the value of the /F key. The /F key is just a reference to a PDF form which is to be populated with data. In a web environment it is a URL (e.g. http:/testfdf/resultlabel.pdf).
fdf_get_status
(PHP3 >= 3.0.6, PHP4 )
fdf_get_status – Get the value of the /STATUS key
Description
string fdf_get_status (int fdf_document)
The fdf_get_status() returns the value of the /STATUS key.
fdf_set_status
(PHP3 >= 3.0.6, PHP4 )
fdf_set_status – Set the value of the /STATUS key
Description
void fdf_set_status (int fdf_document, string status)
The fdf_set_status() sets the value of the /STATUS key.
fdf_set_ap
(PHP3 >= 3.0.6, PHP4 )
fdf_set_ap – Set the appearance of a field
Description
void fdf_set_ap (int fdf_document, string field_name, int face, string filename, int page_number)
The fdf_set_ap() function sets the appearance of a field (i.e. the value of the /AP key). The possible values of face are 1=FDFNormalAP, 2=FDFRolloverAP, 3=FDFDownAP.
fdf_next_field_name
(PHP3 >= 3.0.6, PHP4 )
fdf_next_field_name – Get the next field name
Description
string fdf_next_field_name (int fdf_document, string fieldname)
The fdf_next_field_name() function returns the name of the field after the field in fieldname or the field name of the first field if the second paramter is NULL.















































