(PHP 4 >= 4.0.2)
bool fdf_set_javascript_action (int fdf_document, string fieldname, int trigger, string script)
bool fdf_set_javascript_action
The fdf_set_javascript_action() sets a javascript action for the given field fieldname.
See also fdf_set_submit_form_action().