reset_form
Description:
Resets the form fields specified by fields if exclude_fields is FALSE.
Resets all others if exclude_fields is TRUE. All form fields are reset regardless of the exclude_fields flag if fields is empty.
Parameters:
this |
A Document |
fields |
list of fields to reset |
exclude_fields |
whether to reset all fields except those in |