Browse files

Merge pull request #38 from jmacdotorg/master

Tiny little edit: Adding an apparently missing line to a Manual::Validation example.
  • Loading branch information...
2 parents 2055ad6 + 14069a4 commit bd7b20b3107d1ab618d9ba381e25e7feb090f3e3 @gshank committed Feb 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/HTML/FormHandler/Manual/Validation.pod
View
1 lib/HTML/FormHandler/Manual/Validation.pod
@@ -127,6 +127,7 @@ perform this validation when a particular field is a particular value:
has_field 'fee';
has_field 'fie' => ( apply => [
{ when => { fee => 1 }, check => qr/when/, message => 'Wrong fie' },
+ ]);
has_field 'fo';
has_field 'fum_comp' => ( type => 'Compound' );
has_field 'fum_comp.one';

0 comments on commit bd7b20b

Please sign in to comment.