From bf516ed671f890b64773bad85dd94f01179d60ee Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Mon, 6 Jun 2011 14:25:41 +1200 Subject: [PATCH] MINOR: fixed typos in form documentation --- docs/en/topics/forms.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/en/topics/forms.md b/docs/en/topics/forms.md index 6cd2146cf..4c303f00f 100644 --- a/docs/en/topics/forms.md +++ b/docs/en/topics/forms.md @@ -14,8 +14,8 @@ constructor takes the following arguments: * `$name`: This must be the name of the method on that controller that is called to return the form. The first two fields allow the form object to be re-created after submission. **It's vital that they are properly set - if you ever have problems with form action handler not working, check that these values are correct.** -* `$fields`: A `[api:FieldSet]`s that make up the editable portion of the form. -* `$actions`: A `[api:FieldSet]`s that make up the control portion of the form - the buttons at the bottom. +* `$fields`: A `[api:FieldSet]` containing `[api:FormField]` instances make up fields in the form. +* `$actions`: A `[api:FieldSet]` containing the `[api:FormAction]` objects - the buttons at the bottom. * `$validator`: An optional `[api:Validator]` for more information. Example: @@ -211,12 +211,12 @@ basic customisation:
- + $dataFieldByName(FirstName)
@@ -273,10 +273,12 @@ Adds a new text field called FavouriteColour next to the Content field in the CM ## Related -* [form-field-types](/reference/form-field-types) -* `[api:FormField]` class -* [multiform module](http://silverstripe.org/multi-form-module) +* [Form Field Types](/reference/form-field-types) +* [MultiForm Module](http://silverstripe.org/multi-form-module) ## API Documentation -`[api:Form]` \ No newline at end of file +* `[api:Form]` +* `[api:FormField]` +* `[api:FieldSet]` +* `[api:FormAction]` \ No newline at end of file