Validators

Introduction

This page has tips how to validate fields defined in Archetypes schema.

List of default validators

Creating a validator

A custom validator should return True if valid, or an error string if validation fails. This is especially important to remember when chaining validators together. See the tutorials below for further details: