Skip to Content Skip to Menu

field validation

13 years 1 month ago #181363 by strawberry
field validation was created by strawberry
Hi,
If I want to add a simple Perl field validation to check for numbers (phone no. field), it does not work.
Is my code wrong? Or do I have to go back to the php file?

(/^[0-9]+$/)

Thanks for your help :)

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

  • bk6366
  • bk6366
  • OFFLINE
  • Posts: 97
  • Thanks: 22
  • Karma: 4
12 years 9 months ago #193046 by bk6366
Replied by bk6366 on topic Re: field validation

If I want to add a simple Perl field validation to check for numbers (phone no. field), it does not work.
Is my code wrong? Or do I have to go back to the php file?

(/^[0-9]+$/)


I believe your expression is incorrect. Try following this post .

bk
---
J1.7.3 / CB 1.7.1 / PHP 5.2.17 (no, not upgrading yet)
Current J/CB Project

'Terse'
Guide to getting answers
Please note that pm's related to CB issues will go unanswered. That's what the forums are for.

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

Moderators: beatnantkrileon
Powered by Kunena Forum