perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Harrison" <shado...@doublebagel.com>
Subject RE: Eratic Form Validation Behavior?
Date Tue, 15 Oct 2002 01:25:03 GMT
(Is must_not_contain server or client side? I can see the client side JS
generated by the server verification seems not to work entirely?)

> -----Original Message-----
> From: Justin Harrison [mailto:shadowj4@doublebagel.com] 
> Sent: Monday, October 14, 2002 9:14 PM
> To: embperl@perl.apache.org
> Subject: Eratic Form Validation Behavior?
> 
> 
> I am attempting to use "must_not_contain" to restrict 
> characters which can be entered in a form.
> 
> I would like to restrict {}[]()^$.|*+?\/@%!&, however, I 
> receive script errors. Does some of this need to be delimited out?
> 
> It seems to restrict { fine, but nothing else. The 
> documentation is kind of weak on the usage of 
> "must_not_contain", so I have been fooling with it and trying 
> to learn from the example.
> 
> 	-msg => 'The data entered is invalid',
>       must_not_contain => '{}[]()^$.|*+?\/@%!&'
> 
> 
> Justin
> 
> 
> ---------------------------------------------------------------------
> 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