Skip to content

Commit

Permalink
Update docs/en/topics/forms.md
Browse files Browse the repository at this point in the history
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
chocnut committed Sep 15, 2012
1 parent 86dc36c commit 7f3f560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/topics/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 7f3f560

Please sign in to comment.