Permalink
Browse files

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.
  • Loading branch information...
1 parent 86dc36c commit 7f3f560a60ab261a1e2b5431289d9ea267f4e72c @chocnut chocnut committed Sep 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/topics/forms.md
View
@@ -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),

0 comments on commit 7f3f560

Please sign in to comment.