Update docs/en/topics/forms.md

Minor update to line 79 of the Form Fields sample code. Missing comma for the next field. throws error when using the code.
This commit is contained in:
Peter Indiola 2012-09-15 09:06:37 +08:00
parent 86dc36ca21
commit 7f3f560a60

View File

@ -76,7 +76,7 @@ class, and add it to the fieldlist of the form.
"SignupForm", // form name
new FieldList( // fields
TextField::create("FirstName")
->setTitle('First name')
->setTitle('First name'),
TextField::create("Surname")
->setTitle('Last name')
->setMaxLength(50),