mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #798 from chocnut/patch-1
Update docs/en/topics/forms.md
This commit is contained in:
commit
70ef6bd64f
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user