Skip to main content

Filter: gform_rule_source_value

Filter the source value of a conditional logic rule before it is compared with the target value.

Parameters​

NameTypeDescription
$source_valueint|stringThe value of the rule's configured field ID, entry meta, or custom property.
$rulearrayThe conditional logic rule that is being evaluated.
$formarrayThe current form meta.
$logicarrayAll details required to evaluate an objects conditional logic.
$entryarrayThe current entry object (if available).

Since​

  • 2.6.2

Source​

  • Defined in common.php at line 5346
  • Defined in forms_model.php at line 8245