Web News

Internet Security Expert Urges Companies to Review...
Online retailers and web-enabled companies face a tough challenge ahead of the busy 2007 holiday season, as cyberthreats and security breaches will take their toll on businesses and consumers. Toronto, October 24...

Nuclear waste top concern for Canada, experts say
As Canada moves towards storing nuclear waste underground, experts at an international climate conference in Montreal are warning the industry to begin considering the security issues at stake. Nuclear...

U.S. open to passport alternatives but isn't sharing...
A Canadian business leader says American security officials have finally bought into the idea of high-tech driver's licences as alternatives to passports at the Canada-U.S. border. But Perrin Beatty, president...

The Cisco Connected Office is open
Take an hour this Friday and learn how to grow your business with Cisco and Linksys. Every Friday at 11 A.M. Eastern time until December 7, join Cisco Linksys for a "Why Partner with Linksys" Webinar to be eligible...


10.29.07


Spry's Confirmation Validation

By Raymond Camden

A few days ago I blogged about Spry's password validation.

It is an impressive little widget giving you nice control over how strong your password needs to be. Today I'm going to demonstrate the confirmation widget.

As you can guess - this is simply a widget that will enforce validation of a password. This widget can either work with a simple password field, or with Spry's password widget. Since I assume most folks will want to use both, my example will follow that format. As with the other widgets I covered - you include a JavaScript and CSS file:



Download Now!

And lastly you create a JavaScript variable that enables the validation:



Two things to note here. The first value is the ID of the confirmation span. The second value is the ID of the form field you are validating. Even though I'm using a Spry widget, I need to point to the field's ID value, not the span around it. As you can guess - the confirmRequiredMsg will be fired when the user doesn't enter anything, while the confirmInvalidMsg will fire if the passwords don't match at all.

Taking the last example from the previous post, here is a file that does both strict password checking as well as validation checking:

Continue reading this article.

About the Author:
Raymond Camden, ray@camdenfamily.com
http://ray.camdenfamily.com

Raymond Camden is Vice President of Technology for roundpeg, Inc. A long time ColdFusion user, Raymond has worked on numerous ColdFusion books and is the creator of many of the most popular ColdFusion community web sites. He is an Adobe Community Expert, user group manager, and the proud father of three little bundles of joy.

About DevWebProCanada
DevWebProCanada is for professional developers ... those who build and manage applications and sophisticated websites. DevWebProCanada delivers via news and expert advice New Strategies In Development.

DevWebProCanada is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITmanagementNews.com


-- DevWebProCA is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal 


archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


Delivering IT Solutions DevWebProCanada News Archives About Us Feedback DevWebProCanada Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact