madaneag
Junior Member
Posts: 5
Registered: 2/16/2005
Member Is Offline
|
| posted on 3/23/2005 at 09:59 PM |
|
|
alphanum should accept spaces
i think alphanum format should accet spaces
but it does not
any suggestions how to change the script?
|
|
|
katAttack
Junior Member
Posts: 6
Registered: 6/3/2005
Member Is Offline
|
| posted on 6/3/2005 at 06:07 AM |
|
|
Quite simple once you see this.
Was
'alpha' : /^[a-zA-Z\.\-]*$/,
Now:
'alpha' : /^[a-zA-Z\.\-\s]*$/,
Adding the '\s' now allows spaces in fields defined as alpha
|
|
|
joolzhaines
Junior Member
Posts: 8
Registered: 8/17/2005
Member Is Offline
|
| posted on 10/4/2005 at 09:54 PM |
|
|
alphanum
Hi,
Does anyone know how to add the spaces to the alphanum validation. Cheers Joolz
| Quote: | Originally posted by katAttack
Quite simple once you see this.
Was
'alpha' : /^[a-zA-Z\.\-]*$/,
Now:
'alpha' : /^[a-zA-Z\.\-\s]*$/,
Adding the '\s' now allows spaces in fields defined as alpha |
|
|
|