perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Harrison" <shado...@doublebagel.com>
Subject RE: Form Validate Error
Date Tue, 13 Aug 2002 01:32:12 GMT
Esh :-)

When all else fails, try the obvious, eh? Thanks!

Justin

> -----Original Message-----
> From: Gavin Carr [mailto:gavin@openfusion.com.au] 
> Sent: Monday, August 12, 2002 9:25 PM
> To: embperl@perl.apache.org
> Subject: Re: Form Validate Error
> 
> 
> On Mon, Aug 12, 2002 at 09:18:27PM -0400, Justin M. Harrison wrote:
> > Rules.pm:
> > 
> > sub loginform {
> > return([
> > 	[-key => 'username',
> >   	-name => 'username'
> 
> Missing comma. :-)
> 
> >   	-msg => "Username was not entered",
> >   	required=>1.
> > 	-msg => "Username was too short",
> > 	length_min=>1,
> > 	-msg => "Username was too long",
> > 	length_max=>15,
> > 	],
> > 	[-key => 'password',
> > 	-name => 'password',
> >   	-msg => "Password was not entered",
> >   	required=>1.
> > 	-msg => "Password was too short",
> > 	length_min=>1,
> > 	-msg => "Password was too long",
> > 	length_max=>15,
> > 	]
> > ]);
> > }
> > 
> > 1;
> 
> -- 
> Open Fusion Pty. Ltd. - Open Source Business Solutions 
http://www.openfusion.com.au
- Fashion is a variable, but style is a constant - Programming Perl

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message