The Form class provides a way to create interactive forms in your web application with very little effort.
Silverstripe CMS handles generating the correct semantic HTML markup for the form and each of the fields, as well as the
framework for dealing with submissions and validation.
Introduction to Forms
An introduction to creating a Form instance and handling submissions.
Validate form data through the server side validation API.
Customize the generated HTML for a FormField or an entire Form.
Ensure Forms are secure against Cross-Site Request Forgery attacks, bots and other malicious intent.
Provide read-only and disabled views of your Form data.
Find out how CMS interfaces use jQuery UI tabs to provide nested FormFields.
Common FormField type subclasses
A table containing a list of the common FormField subclasses.
How to format and use the DateField class.
Rich-text editing (WYSIWYG)
Silverstripe CMS's use and configuration of TinyMCE html editor.
How to use the GridField class for managing tabular data.
How to Encapsulate Forms
Learn how to move a form from a controller into its own class definition.
How to Create Lightweight Form
Create a simple search form with Silverstripe CMS
Create a GridField Component
Customise your GridField with a variety of add-ons.
Create a GridField action provider
Handle custom actions on your GridField
Simple contact form
Create a form that submits a message via email
How to handle nested data in forms
Forms can save into arrays, including has_one relations