diff --git a/user_guide_src/source/libraries/validation.rst b/user_guide_src/source/libraries/validation.rst index dda07b0a2039..bb9e7db76132 100644 --- a/user_guide_src/source/libraries/validation.rst +++ b/user_guide_src/source/libraries/validation.rst @@ -585,7 +585,7 @@ Allowing Parameters If your method needs to work with parameters, the function will need a minimum of three parameters: the string to validate, the parameter string, and an array with all of the data that was submitted the form. The ``$data`` array is especially handy -for rules like ``require_with`` that needs to check the value of another submitted field to base its result on: +for rules like ``required_with`` that needs to check the value of another submitted field to base its result on: .. literalinclude:: validation/037.php