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/4/2005 at 12:03 AM Reply With Quote
custom validation


Hi,

How can I change

'alphanum':/^w+$/

in the validation.js to allow spaces and validate

NEW YORK1

as correct, the space in the middle causes an error in validation

Thanks

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

Posts: 2
Registered: 10/3/2005
Location: Nashville, TN
Member Is Offline
posted on 10/4/2005 at 12:30 AM Reply With Quote
Spaces in alphanum


Hi,

I found this answer a few posts down...

http://www.softcomplex.com/forum/viewthread_2377/
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/4/2005 at 08:15 AM Reply With Quote
alphanum


Hi,

Yes I saw that but I can't seem to add it to the alphanum, It works on the alpa. The documentation on custom validation is not very good so I can't work out how the string should look

'alphanum':/^w+$/

maybe

'alphanum':/^w+$/s

thanks for you help
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Support Forum
 

Go To Top


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