Adam Groszer wrote:
I'd like to check a field if it is a valid e-mail address.
It can be also empty.

First I'll answer your intended question:

If I do not fill in a value in the browser "Required input is
missing." message comes.

use "required = False"

Now I'll give you some advice you didn't want :)

Checking an email address for validity via a simple regex is impossible. The actual grammar for valid email addresses is quite complex. If you *really* want to do this, see this regex and be very afraid:;
Benji York
Senior Software Engineer
Zope Corporation
Zope3-users mailing list

Reply via email to