Sorry, I should probably have mentioned that I'm after CFML server-side validation and not a client side solution.
Thanks, Rob > Hello Guys, > > I feel like a bit of a putts for asking this, but its the first time I've > done any validation code for a while and I'm feeling a little rusty. I > have a string which I need to ensure contains no spaces, only letters with > NO special chars or numbers. > > I was hoping to put each of those 4 elements into 4 different functions > which will make them more reusable. Can anyone tell me the simple code for > validating each of those attributes? > > Thanks, > > Rob > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4