Gossamer Forum
Home : Products : Links 2.0 : Customization :

Valid phone number

Quote Reply
Valid phone number
What modification do I have to make to accept phone number with the following characters ( ) . - , and space

At present it only accepts . (dot)

Phone => [19, 'numer', 25, 25, 0, '', '^[\d\.]+$'],
Quote Reply
Re: [bigpatsu] Valid phone number In reply to
Hi. This should work;

^[\d\.\(\)\-\,]+$

(untested).

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Valid phone number In reply to
Thanks. It works.