Working with Forms in Grok
This Tutorial applies to:
Any version.
This Tutorial is intended for:
Developer
All content on one page (useful for printing, presentation mode etc.)
- Introducing Forms An overview of the Form infrastructure in Grok
- Defining Schema Fields Schema Fields are used to describe the schema of an ordinary Python object.
- Form Fields extend the information about a Schema Field Understanding the difference between a form field and a schema field.
- Creating a Form How to create a simple Form
- Customising the default Form templates Learn how to tweaking the template used to render a form. Useful for integrating a form into your applications custom layout.
- Customising individual Form Fields Learn how to customise individual form fields.
- Creating custom widgets and overriding widgets globally How to create new widgets, as well as replace existing widgets with your own custom versions.
- Using multiple schemas with a Form Demonstrating using multiple schemas within the same form.
- Accessing a Form within another View Forms are a specialization of the grok.View base class. You can use a form programmatically from within another View if required.

