On 2/14/07, anandrv <[EMAIL PROTECTED]> wrote:
> the numaric values other wise it will be blank how to validate like
> that

Use a regex something like ^[   ]*$|^[0-9]*$   - you may need to refine
it a bit but it is a simple 2 part regex the first part test for a
blank the | is an OR and the next part is checking for numbers

HTH
Tarique

-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

  • validation anandrv
    • Re: validation Dr. Tarique Sani

Reply via email to