[ic] email_only & strip?

Gert van der Spoel gert at 3edge.com
Wed Apr 21 06:25:32 UTC 2010

> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of Grant
> Sent: Wednesday, April 21, 2010 9:12 AM
> To: interchange-users at icdevgroup.org
> Subject: [ic] email_only & strip?
> I noticed that a potential customer of mine tried to place an order,
> but could not because I use the form validation element email_only and
> the customer had a space character after their email address.  Is
> there any way to strip whitespace like that and use email_only?

Maybe you'd want to work on showing a better error message if it does not
pass the email validation?
I'm sure you can mess about somewhere before the email_only check happens to
change the value of the cgi param and filter out spaces, but the next guy
that comes might have a tab behind it, you'd want to cover for that one



More information about the interchange-users mailing list