Skip to content

Glossary: Laravel

old() and @error

Also written: old(), @error, $errors

Blade tools for showing a failed form again: old('name') gives back what the user typed, and @error('name') shows that field's message.

Where the book teaches it

Related terms

Validation@csrf