joolzhaines
Junior Member
Posts: 8
Registered: 8/17/2005
Member Is Offline
|
| posted on 10/4/2005 at 12:03 AM |
|
|
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
|
|
|
bholden
Junior Member
Posts: 2
Registered: 10/3/2005
Location: Nashville, TN
Member Is Offline
|
| posted on 10/4/2005 at 12:30 AM |
|
|
Spaces in alphanum
Hi,
I found this answer a few posts down...
http://www.softcomplex.com/forum/viewthread_2377/
|
|
|
joolzhaines
Junior Member
Posts: 8
Registered: 8/17/2005
Member Is Offline
|
| posted on 10/4/2005 at 08:15 AM |
|
|
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
|
|
|