From dccda8fd3d629cbc2fc07222e3aec40521fdc432 Mon Sep 17 00:00:00 2001 From: Samuel Bassah Date: Fri, 17 Jan 2025 14:02:00 +0000 Subject: [PATCH] `gw-set-range-by-field-values.php`: Deprecated and added "Evolved" message. --- .../gw-set-range-by-field-values.php | 28 ++----------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/gravity-forms/gw-set-range-by-field-values.php b/gravity-forms/gw-set-range-by-field-values.php index 37d90e33d..48253a7c2 100644 --- a/gravity-forms/gw-set-range-by-field-values.php +++ b/gravity-forms/gw-set-range-by-field-values.php @@ -1,28 +1,6 @@ id == 4 ) { - // Update "5" to the ID of the field whose value should be used for the minimum range. - $min_field = GFAPI::get_field( $form, 5 ); - $field->rangeMin = GFFormsModel::get_field_value( $min_field, $field_values ); - // Update "6" to the ID of the field whose value should be used for the maximum range. - $max_field = GFAPI::get_field( $form, 6 ); - $field->rangeMax = GFFormsModel::get_field_value( $max_field, $field_values ); - } - } - - return $form; -}