This guide will work through how to create SilverStripe forms, adding and modifying fields and how to handle form submissions.

Versions:

The Form class provides a way to create interactive forms in your web application with very little effort. SilverStripe 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.

  • Form Validation

    Validate form data through the server side validation API.

  • Form Templates

    Customize the generated HTML for a FormField or an entire Form.

  • Form Security

    Ensure Forms are secure against Cross-Site Request Forgery attacks, bots and other malicious intent.

  • Form Transformations

    Provide read-only and disabled views of your Form data.

  • Tabbed Forms

    Find out how CMS interfaces use jQuery UI tabs to provide nested FormFields.

  • Field types

FormField Documentation

How to's

API Documentation

Was this article helpful?