Page Builder Summit Limited Time Offer - 20% OFF! Use coupon PBS20 - View Details

wsf_field_get_objects_by_label

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

  1. $form_object Form Object
    The form object.
  2. $field_label String
    The field label to search for.

Return

$field_array Array
An array of field objects that have the label specified. Exception thrown if no fields found.