Update 06_Tabbed_Forms.md

Typo.  Adding a field to a tab, not from.  Thanks.
This commit is contained in:
Antony Thorpe 2015-05-09 21:47:37 +12:00
parent dca8e2ad52
commit 7c3ba9d4bf

View File

@ -19,7 +19,7 @@ name, and normally they all exist under the `Root` [api:TabSet].
display up to two levels of tabs in the interface. If you want to group data further than that, try [api:ToggleField].
</div>
## Adding a field from a tab.
## Adding a field to a tab
:::php
$fields->addFieldToTab('Root.Main', new TextField(..));
@ -52,4 +52,4 @@ display up to two levels of tabs in the interface. If you want to group data fur
## API Documentation
* [api:FormScaffolder]
* [api:FormScaffolder]