clear_fieldset

You can use the clear_fieldset function to remove all assigned fields from a FIELDSET.

 clear_fieldset ( fieldset )

The function has one parameter:

  • field set, type FIELDSET. This is the Field Set to be cleared.

The result of the function is type BOOL. If the Field Set was cleared successfully, the function returns TRUE; otherwise, it returns FALSE.