Abstract
Form handling is one of those areas that at first glance appears very simple but in real applications can quickly become rather complicated. There are generally two approaches to dealing with forms. The first is to code all your forms, validation, and logic manually to give you complete control over how your forms work. The alternative approach is to use a form framework where ready-made classes exist for each of the field types you might want to use. The form framework then automates the generation of HTML, the validation of data, and the display of error messages for you.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 James Gardner
About this chapter
Cite this chapter
(2009). Working with Forms and Validators. In: The Definitive Guide to Pylons. Apress. https://doi.org/10.1007/978-1-4302-0534-0_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0534-0_6
Publisher Name: Apress
Print ISBN: 978-1-59059-934-1
Online ISBN: 978-1-4302-0534-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books