mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
parent
e7d45c9222
commit
fc9864eed3
@ -9,11 +9,11 @@ form.
|
|||||||
A fully implemented form in SilverStripe includes a couple of classes that
|
A fully implemented form in SilverStripe includes a couple of classes that
|
||||||
individually have separate concerns.
|
individually have separate concerns.
|
||||||
|
|
||||||
* Controller—Takes care of assembling the form and receiving data from it.
|
* Controller — Takes care of assembling the form and receiving data from it.
|
||||||
* Form—Holds sets of fields, actions and validators.
|
* Form — Holds sets of fields, actions and validators.
|
||||||
* FormField —Fields that receive data or displays them, e.g input fields.
|
* FormField — Fields that receive data or displays them, e.g input fields.
|
||||||
* FormActions—Often submit buttons that executes actions.
|
* FormActions — Buttons that execute actions.
|
||||||
* Validators—Validate the whole form.
|
* Validators — Validate the whole form.
|
||||||
|
|
||||||
Depending on your needs you can customize and override any of the above classes;
|
Depending on your needs you can customize and override any of the above classes;
|
||||||
the defaults, however, are often sufficient.
|
the defaults, however, are often sufficient.
|
||||||
|
Loading…
Reference in New Issue
Block a user