Skip to Content Skip to Menu

Phone field on Registration - Numeric only?

  • geoffr
  • geoffr
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
12 years 10 months ago #185993 by geoffr
How do I set the phone field so that it will only allow numeric characters (spaces, dots and dashes also permitted)?

Thanks,
Geoff

Please Log in or Create an account to join the conversation.

  • sfraise
  • sfraise
  • OFFLINE
  • Posts: 96
  • Thanks: 14
  • Karma: 4
12 years 10 months ago #186064 by sfraise
Go to your cb admin panel->field managment->phone field, there's a drop down on the right called authorized input, select custom perl regular expression and put:
/[0-9]/
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum