Re: [Zope] How to require an @ symbol in email form field??

2000-07-22 Thread ed colmar
Couldn't you do something similar to Squishdot's "validArticle" dtml method? In addition to verification that the fields are filled in, you could pass the email variable off to a python regular expression that checks for [EMAIL PROTECTED] syntax. -ed- At 07:21 PM 7/21/00 -0400, you wrote: >On

Re: [Zope] How to require an @ symbol in email form field??

2000-07-21 Thread R. David Murray
On Tue, 18 Jul 2000, Duncan Booth wrote: > Use javascript to check that all required fields are present before > the form is actually submitted. Here is some of the code I use: Note, however, that using Javascript to do the checking client side is only useful as a user convenience. If you have

Re: [Zope] How to require an @ symbol in email form field??

2000-07-18 Thread Duncan Booth
> Is there a way to require at least an "@" sign in the email field? The > powers that be think this would be useful. ... complain here ... > > Here's the form processing code as it stands today. Any help is > appreciated. Use javascript to check that all required fields are present before the

Re: [Zope] How to require an @ symbol in email form field??

2000-07-18 Thread Peter Be
ginal Message - From: Stacy Formby <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 17, 2000 7:57 PM Subject: [Zope] How to require an @ symbol in email form field?? > Hello, > > I am new to Zope; since our webmaster left I'm trying to make small >

Re: [Zope] How to require an @ symbol in email form field??

2000-07-17 Thread Dieter Maurer
Stacy Formby writes: > Is there a way to require at least an "@" sign in the email field? The > powers that be think this would be useful. You can do it on the client with javascript or on the server with Dieter ___

[Zope] How to require an @ symbol in email form field??

2000-07-17 Thread Stacy Formby
Hello, I am new to Zope; since our webmaster left I'm trying to make small changes to the website. We have a standard registration form that collects information from users (first name, last name, email, company name, etc.) All of the fields are required, except address 2, address3. Great. fine.