diff --git a/reference/forms/types/text.rst b/reference/forms/types/text.rst index 83f84b33d9a..24e490808d4 100644 --- a/reference/forms/types/text.rst +++ b/reference/forms/types/text.rst @@ -44,7 +44,9 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/empty_data.rst.inc :end-before: DEFAULT_PLACEHOLDER -The default value is ``''`` (the empty string). +From an HTTP perspective, submitted data is always a string or an array of strings. +So by default, the form will treat any empty string as null. If you prefer to get +an empty string, explicitly set the ``empty_data`` option to an empty string. .. include:: /reference/forms/types/options/empty_data.rst.inc :start-after: DEFAULT_PLACEHOLDER