Filter: gform_rule_source_value
Filter the source value of a conditional logic rule before it is compared with the target value.
Parameters
| Name | Type | Description |
|---|---|---|
| $source_value | int|string | The value of the rule's configured field ID, entry meta, or custom property. |
| $rule | array | The conditional logic rule that is being evaluated. |
| $form | array | The current form meta. |
| $logic | array | All details required to evaluate an objects conditional logic. |
| $entry | array | The current entry object (if available). |
Since
Source
- Defined in
common.phpat line 4963 - Defined in
forms_model.phpat line 8085