diff --git a/forms/TextField.php b/forms/TextField.php index f374500f8..15d0d5c75 100644 --- a/forms/TextField.php +++ b/forms/TextField.php @@ -74,6 +74,8 @@ class TextField extends FormField { * @return string */ public function InternallyLabelledField() { + Deprecation::notice('4.0', 'Please use ->setValue() instead'); + if(!$this->value) { $this->value = $this->Title(); }