X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F09_AdvancedCRUD%2F09_FormFu.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2F09_AdvancedCRUD%2F09_FormFu.pod;h=a566e925fce68a6a5104bbea7e4829cf916e154d;hp=855d65314fce432e404ce6fac5f2f4bc9a072238;hb=2217b252905d370f4f7840cf78996d43c79e5d4f;hpb=b9e431e31e8cbd4efc46e4270098567faf7e4f29 diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 855d653..a566e92 100644 --- a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod +++ b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod @@ -56,27 +56,27 @@ L =head1 DESCRIPTION -This portion of the tutorial explores L and +This portion of the tutorial explores L and how it can be used to manage forms, perform validation of form input, as well as save and restore data to/from the database. This was written using HTML::FormFu version 0.05001. See -L +L for additional form management options other than -L. +L. =head1 HTML::FormFu FORM CREATION -This section looks at how L can be used to +This section looks at how L can be used to add additional functionality to the manually created form from Chapter 4. =head2 Inherit From Catalyst::Controller::HTML::FormFu First, change your C to inherit from -L +L by changing the C line from the default of: BEGIN {extends 'Catalyst::Controller'; } @@ -143,7 +143,7 @@ following method: =head2 Create a Form Config File Although C supports any configuration file handled by -L, most people tend to use YAML. First +L, most people tend to use YAML. First create a directory to hold your form configuration files: mkdir -p root/forms/books @@ -278,7 +278,7 @@ performing any validation. =head1 HTML::FormFu VALIDATION AND FILTERING -Although the use of L in the previous section +Although the use of L in the previous section did provide an automated mechanism to build the form, the real power of this module stems from functionality that can automatically validate and filter the user input. Validation uses constraints to be sure that @@ -393,13 +393,13 @@ C and C options in C. =item * Constraints are added to provide validation of the user input. See -L for other +L for other constraints that are available. =item * A variety of filters are run on every field to remove and escape -unwanted input. See L +unwanted input. See L for more filter options. =back @@ -585,7 +585,7 @@ real reason you worked through this Tutorial in the first place. If you are having difficulty with YAML config above, please save the below into the file C and delete the C file. The below is in -L format which follows the syntax of +L format which follows the syntax of Apache config files. constraints Required