diff --git a/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md b/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md index f82f9b16e..2bbbfb29c 100644 --- a/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md +++ b/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md @@ -30,6 +30,7 @@ use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Form; use SilverStripe\Forms\FormAction; use SilverStripe\Forms\TextField; +use SilverStripe\Forms\TextareaField; class ContactPageController extends PageController { @@ -40,7 +41,7 @@ class ContactPageController extends PageController $fields = FieldList::create( TextField::create('Name'), EmailField::create('Email'), - extareaField::create('Message') + TextareaField::create('Message') ); $actions = FieldList::create(