Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Spry validation and validating email address?

LEGEND ,
Oct 05, 2007 Oct 05, 2007

Copy link to clipboard

Copied

I've seen that spry can be used to validate forms. I have not seen an
example of an email address or more complicated validating being done.

Where's a good source for how to do this?
TOPICS
Server side applications

Views

435
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 06, 2007 Oct 06, 2007

Copy link to clipboard

Copied

Validating email addresses is not entirely possible. You can only validate
the SYNTAX of an email address. This is best done server side rather than
client side (or perhaps both ways) since validating only client side can be
defeated by simply disabling javascript.

I like the Spry validation, though, because it is EXTREMELY flexible and
easy to use. David Powers has some very good discussions about Spry in his
Dreamweaver CS3 with CSS. Ajax, and PHP book, as does David McFarland in his
Dreamweaver CS3: The Missing Manual.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Art" <lee_nospam_@nospam_artjunky.com> wrote in message
news:fe5uke$pu7$3@forums.macromedia.com...
> I've seen that spry can be used to validate forms. I have not seen an
> example of an email address or more complicated validating being done.
>
> Where's a good source for how to do this?


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 06, 2007 Oct 06, 2007

Copy link to clipboard

Copied

On Sat, 6 Oct 2007 11:28:11 -0400, "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote:

>Validating email addresses is not entirely possible. You can only validate
>the SYNTAX of an email address. This is best done server side rather than
>client side (or perhaps both ways) since validating only client side can be
>defeated by simply disabling javascript.

If doing it server side, you can verify that the domain exists and has
an MX record. You cannot verify that a particular e-mail address exists
on the server short of actually sending an e-mail to it and having that
user respond to the e-mail.

Gary

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 08, 2007 Oct 08, 2007

Copy link to clipboard

Copied

LATEST
Thanks,

I just wanted to validate the SYNTAX of an email. On Adobe's site, there
are examples on how to use spry to check forms but there wasn't a one
specific for checking the syntax of an email address.

I will try to find those books. Checked this weekend but the local
Borders Book Store didn't have anything that looked like it would help.
Fairly limited selection, as usual. They usually have a lot of the basic
books and then a few older advanced books. I'll see if I can get them to
stock those suggested.

The server-side validation intrigues me. I'm starting to get better at
doing stored Procedures but it's a long process. The books I've seen
tend to focus specifically on SQL but tend not to focus on Stored
Procedures or the sort of tasks that a Designer, like myself, would
need. In other words, there's a lot of complicate details without
practical information that makes sense to a non-programmer. Don't get me
wrong, I know it's in there, it's just hard for me to decipher.

The other option is doing a Google and you never know what you'll find
going that route.

Any recommendations for a book on Stored Proceedures (SQL)that might
cover this sort of thing.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines