field validation

12 years 5 months 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 to join the conversation.

12 years 1 month 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.285 seconds

Facebook Twitter LinkedIn