Contents
Description
The wsf_field_get_objects_by_label PHP function return field objects that have a particular label.
Usage
wsf_field_get_objects_by_label( $form_object, $field_label );
Parameters
$form_objectForm ObjectThe form object.$field_labelStringThe field label to search for.
Return
$field_array ArrayAn array of field objects that have the label specified. Exception thrown if no fields found.