Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Custom Validation
joolzhaines
Junior Member

Posts: 8
Registered: 8/17/2005
Member Is Offline
posted on 10/3/2005 at 10:45 AM Reply With Quote
Custom Validation


Hi,

I am tring to wite a custom validation that will allow

Strings A-Za-z
Numbers 0-9
Spaces

This is what I have tried and does not work

'f' : /[a-zA-Z.-s.0-9]/

thanks for your help

Joolz
View User's Profile View All Posts By User U2U Member
joolzhaines
Junior Member

Posts: 8
Registered: 8/17/2005
Member Is Offline
posted on 10/5/2005 at 08:31 AM Reply With Quote
Validation


Found it myself anyway,

Here it is and it should be the default!


'alphanum':/^[\w\s]+$/


Hope it helps someone

Joolz
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Multiple Forms Validation
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004