PloneDocumentation
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Content management
  • Archetypes
  • Validators
  • Previous
  • Next
  • Introduction
  • Working with Content
  • Adapting & Extending Plone
  • Managing, Administration of Plone
  • Developing for Plone
    • Developing add-ons
    • Programming with Plone
      • Programming Plone
        • Getting started
        • HTTP serving and traversing site data
        • Views, viewlets and layers
        • Content management
          • Creating objects
          • Listing objects
          • Manipulating objects
          • Deleting
          • Renaming content
          • Content types
          • Workflows
          • Content identification (ids)
          • Ownership of content
          • Timestamps
          • Dynamic views
          • Behaviors
          • History and versioning
          • Importing and exporting content
          • Eventish content types
          • Content rules
          • Archetypes
            • Fields and widgets
            • Field storages
            • Archetypes ReferenceFields
            • Customizing editing interface
            • DataGridField
            • Validators
              • Introduction
              • List of default validators
              • Creating a validator
            • Files
            • Converting one Content Type into another
            • Templates
            • References
          • Dexterity
        • Models, forms, fields and widgets
        • ZODB, persistency and transactions
        • Functionality and features
        • Queries, search and indexing
        • Internationalization (i18n)
        • Users and members
        • Security
        • Sessions and cookies
        • Images
        • Syndication
        • Miscellaneous information
    • Developing for Plone Core
    • Dev helper packages
    • Importing content from other systems
    • Tutorials
  • Appendices
  • About this documentation
  • License for Plone Documentation
  • Asking for help
Table Of Content

Validators¶

  • Introduction
  • List of default validators
  • Creating a validator

Introduction¶

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

List of default validators¶

  • https://github.com/plone/Products.validation/blob/master/Products/validation/validators/BaseValidators.py

Creating a validator¶

  • http://play.pixelblaster.ro/blog/archive/2006/08/27/creating-an-archetypes-validator
  • http://www.pererikstrandberg.se/blog/index.cgi?page=PloneArchetypesFieldValidator
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Content management
  • Archetypes
  • Validators
  • Previous
  • Next
Further help resources:
  • Community discussion
  • Stackoverflow
  • IRC Chat
More info on the Plone project:
  • Plone Foundation
  • Providers & Consultants
About this documentation:
  • Contribute
  • These docs on Github
Download:
  • Plone
  • Plone add-ons
Plone

The text and illustrations in this website are licensed by the Plone Foundation under a Creative Commons Attribution 4.0 International license. Plone and the Plone® logo are registered trademarks of the Plone Foundation, registered in the United States and other countries. For guidelines on the permitted uses of the Plone trademarks, see https://plone.org/foundation/logo All other trademarks are owned by their respective owners.

This page uses Google Analytics to collect statistics. You can disable it by blocking the JavaScript coming from www.google-analytics.com.