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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Valid phone number In reply to
Thanks. It works.