Re: birthday validate

2010-06-23 Thread jerry
Thanks Jeremy that's exactly what i wanted to do i mean check wether
the user has entered a date greater than the current day ,month
through validation but i did fail.Am more of a newbie in programing.

On Jun 23, 11:17 am, Jeremy Burns | Class Outfit
 wrote:
> That's going to be hard really. First I'd adapt the code sample (change 
> maxYear to date('Y') which will give you this year and the previous 100 
> (which is probably enough for most people). If you limit the months to (say) 
> June, how would I enter my birthday which is in a previous year but in July? 
> I'd say that just about any date picker controller will present the same 
> challenge unless you can find a really funky ajax one (and hope the user 
> hasn't disabled javascript). If it were me, I'd assume the user has a degree 
> of common sense, knows when they were born and check with validation.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 23 Jun 2010, at 09:09, jerry wrote:
>
> > Thanks for that response but that's not what i was looking for,what i
> > need is for the form to only display previous month up to the current
> > one.Am trying to not let users be able to enter a birthday that is not
> > greater than the current day or month
>
> > On Jun 23, 10:35 am, Jeremy Burns | Class Outfit
> >  wrote:
> >> Do you mean in the form? If so, yes. For example, this code will give you 
> >> a date field (without time) where the year is the the range [this year 
> >> -100] and [this year -18]:
>
> >> $form->input(
> >>         'dob',
> >>         array(
> >>                 'type' => 'datetime',
> >>                 'empty' => true,
> >>                 'dateFormat' => 'MDY',
> >>                 'timeFormat' => '',
> >>                 'minYear' => (
> >>                         date('Y') - 100
> >>                 ),
> >>                 'maxYear' => (
> >>                         date('Y') - 18
> >>                 )
> >>         )
> >> )
>
> >> Jeremy Burns
> >> Class Outfit
>
> >> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> >> On 23 Jun 2010, at 08:14, jerry wrote:
>
> >>> Is there a way to limit months just like maxYear or minYear? this
> >>> would be a lot more easier.
>
> >>> On Jun 22, 2:28 pm, Jeremy Burns | Class Outfit
> >>>  wrote:
>  Sorry - just read the post properly and my answer wasn't your solution, 
>  but it can be adapted. The key is to write a function and within that 
>  compare $check['dob'] with today's date.
>
>  Jeremy Burns
>  Class Outfit
>
>  jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
>  On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:
>
> > Add this to your model validation (assuming the field you are checking 
> > is called 'dob'):
>
> > 'dob' => array(
> >    'inRange' => array(
> >            'rule' => 'isAgeInAcceptedRange',
> >            'message' => 'You must be between the ages of 18 and 80.'
> >    )
> > ),
>
> > Then add this function to your model:
>
> > function isAgeInAcceptedRange($check) {
>
> >    list($Y,$m,$d) = explode("-", $check['dob']);
>
> >    $userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>
> >    if ( ($userAge >= 18) && ($userAge <= 80) ):
> >            return true;
> >    else:
> >            return false;
> >    endif;
>
> > }
>
> > Jeremy Burns
> > Class Outfit
>
> > jeremybu...@classoutfit.com
> >http://www.classoutfit.com
>
> > On 22 Jun 2010, at 10:16, jerry wrote:
>
> >> I have been using cakephp for a few weeks now but i have failed to
> >> know how to validate a date for example a birthday to make sure it's
> >> now greater than the current date.Could anyone point me to the right
> >> direction
>
> >> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers 
> >> with their CakePHP related questions.
>
> >> You received this message because you are subscribed to the Google 
> >> Groups "CakePHP" group.
> >> To post to this group, send email to cake-php@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this 
> >> group athttp://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google 
> > Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this 
> > group athttp://groups.google.com/group/cake-php?hl=en
>
> >>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
> >>> with their CakePHP related questions.
>
> >>> You received this mes

Re: birthday validate

2010-06-23 Thread Jeremy Burns | Class Outfit
That's going to be hard really. First I'd adapt the code sample (change maxYear 
to date('Y') which will give you this year and the previous 100 (which is 
probably enough for most people). If you limit the months to (say) June, how 
would I enter my birthday which is in a previous year but in July? I'd say that 
just about any date picker controller will present the same challenge unless 
you can find a really funky ajax one (and hope the user hasn't disabled 
javascript). If it were me, I'd assume the user has a degree of common sense, 
knows when they were born and check with validation.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 23 Jun 2010, at 09:09, jerry wrote:

> Thanks for that response but that's not what i was looking for,what i
> need is for the form to only display previous month up to the current
> one.Am trying to not let users be able to enter a birthday that is not
> greater than the current day or month
> 
> On Jun 23, 10:35 am, Jeremy Burns | Class Outfit
>  wrote:
>> Do you mean in the form? If so, yes. For example, this code will give you a 
>> date field (without time) where the year is the the range [this year -100] 
>> and [this year -18]:
>> 
>> $form->input(
>> 'dob',
>> array(
>> 'type' => 'datetime',
>> 'empty' => true,
>> 'dateFormat' => 'MDY',
>> 'timeFormat' => '',
>> 'minYear' => (
>> date('Y') - 100
>> ),
>> 'maxYear' => (
>> date('Y') - 18
>> )
>> )
>> )
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>> 
>> On 23 Jun 2010, at 08:14, jerry wrote:
>> 
>>> Is there a way to limit months just like maxYear or minYear? this
>>> would be a lot more easier.
>> 
>>> On Jun 22, 2:28 pm, Jeremy Burns | Class Outfit
>>>  wrote:
 Sorry - just read the post properly and my answer wasn't your solution, 
 but it can be adapted. The key is to write a function and within that 
 compare $check['dob'] with today's date.
>> 
 Jeremy Burns
 Class Outfit
>> 
 jeremybu...@classoutfit.comhttp://www.classoutfit.com
>> 
 On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:
>> 
> Add this to your model validation (assuming the field you are checking is 
> called 'dob'):
>> 
> 'dob' => array(
>'inRange' => array(
>'rule' => 'isAgeInAcceptedRange',
>'message' => 'You must be between the ages of 18 and 80.'
>)
> ),
>> 
> Then add this function to your model:
>> 
> function isAgeInAcceptedRange($check) {
>> 
>list($Y,$m,$d) = explode("-", $check['dob']);
>> 
>$userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>> 
>if ( ($userAge >= 18) && ($userAge <= 80) ):
>return true;
>else:
>return false;
>endif;
>> 
> }
>> 
> Jeremy Burns
> Class Outfit
>> 
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
>> 
> On 22 Jun 2010, at 10:16, jerry wrote:
>> 
>> I have been using cakephp for a few weeks now but i have failed to
>> know how to validate a date for example a birthday to make sure it's
>> now greater than the current date.Could anyone point me to the right
>> direction
>> 
>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
>> with their CakePHP related questions.
>> 
>> You received this message because you are subscribed to the Google 
>> Groups "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>> athttp://groups.google.com/group/cake-php?hl=en
>> 
> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
> with their CakePHP related questions.
>> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en
>> 
>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
>>> with their CakePHP related questions.
>> 
>>> You received this message because you are subscribed to the Google Groups 
>>> "CakePHP" group.
>>> To post to this group, send email to cake-php@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>>> athttp://groups.google.com/group/cake-php?hl=en
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help oth

Re: birthday validate

2010-06-23 Thread jerry
Thanks for that response but that's not what i was looking for,what i
need is for the form to only display previous month up to the current
one.Am trying to not let users be able to enter a birthday that is not
greater than the current day or month

On Jun 23, 10:35 am, Jeremy Burns | Class Outfit
 wrote:
> Do you mean in the form? If so, yes. For example, this code will give you a 
> date field (without time) where the year is the the range [this year -100] 
> and [this year -18]:
>
> $form->input(
>         'dob',
>         array(
>                 'type' => 'datetime',
>                 'empty' => true,
>                 'dateFormat' => 'MDY',
>                 'timeFormat' => '',
>                 'minYear' => (
>                         date('Y') - 100
>                 ),
>                 'maxYear' => (
>                         date('Y') - 18
>                 )
>         )
> )
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 23 Jun 2010, at 08:14, jerry wrote:
>
> > Is there a way to limit months just like maxYear or minYear? this
> > would be a lot more easier.
>
> > On Jun 22, 2:28 pm, Jeremy Burns | Class Outfit
> >  wrote:
> >> Sorry - just read the post properly and my answer wasn't your solution, 
> >> but it can be adapted. The key is to write a function and within that 
> >> compare $check['dob'] with today's date.
>
> >> Jeremy Burns
> >> Class Outfit
>
> >> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> >> On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:
>
> >>> Add this to your model validation (assuming the field you are checking is 
> >>> called 'dob'):
>
> >>> 'dob' => array(
> >>>    'inRange' => array(
> >>>            'rule' => 'isAgeInAcceptedRange',
> >>>            'message' => 'You must be between the ages of 18 and 80.'
> >>>    )
> >>> ),
>
> >>> Then add this function to your model:
>
> >>> function isAgeInAcceptedRange($check) {
>
> >>>    list($Y,$m,$d) = explode("-", $check['dob']);
>
> >>>    $userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>
> >>>    if ( ($userAge >= 18) && ($userAge <= 80) ):
> >>>            return true;
> >>>    else:
> >>>            return false;
> >>>    endif;
>
> >>> }
>
> >>> Jeremy Burns
> >>> Class Outfit
>
> >>> jeremybu...@classoutfit.com
> >>>http://www.classoutfit.com
>
> >>> On 22 Jun 2010, at 10:16, jerry wrote:
>
>  I have been using cakephp for a few weeks now but i have failed to
>  know how to validate a date for example a birthday to make sure it's
>  now greater than the current date.Could anyone point me to the right
>  direction
>
>  Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
>  with their CakePHP related questions.
>
>  You received this message because you are subscribed to the Google 
>  Groups "CakePHP" group.
>  To post to this group, send email to cake-php@googlegroups.com
>  To unsubscribe from this group, send email to
>  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>  athttp://groups.google.com/group/cake-php?hl=en
>
> >>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others 
> >>> with their CakePHP related questions.
>
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "CakePHP" group.
> >>> To post to this group, send email to cake-php@googlegroups.com
> >>> To unsubscribe from this group, send email to
> >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >>> athttp://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: birthday validate

2010-06-23 Thread Jeremy Burns | Class Outfit
Do you mean in the form? If so, yes. For example, this code will give you a 
date field (without time) where the year is the the range [this year -100] and 
[this year -18]:

$form->input(
'dob',
array(
'type' => 'datetime',
'empty' => true,
'dateFormat' => 'MDY',
'timeFormat' => '',
'minYear' => (
date('Y') - 100
),
'maxYear' => (
date('Y') - 18
)
)
)



Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 23 Jun 2010, at 08:14, jerry wrote:

> Is there a way to limit months just like maxYear or minYear? this
> would be a lot more easier.
> 
> On Jun 22, 2:28 pm, Jeremy Burns | Class Outfit
>  wrote:
>> Sorry - just read the post properly and my answer wasn't your solution, but 
>> it can be adapted. The key is to write a function and within that compare 
>> $check['dob'] with today's date.
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>> 
>> On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:
>> 
>>> Add this to your model validation (assuming the field you are checking is 
>>> called 'dob'):
>> 
>>> 'dob' => array(
>>>'inRange' => array(
>>>'rule' => 'isAgeInAcceptedRange',
>>>'message' => 'You must be between the ages of 18 and 80.'
>>>)
>>> ),
>> 
>>> Then add this function to your model:
>> 
>>> function isAgeInAcceptedRange($check) {
>> 
>>>list($Y,$m,$d) = explode("-", $check['dob']);
>> 
>>>$userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>> 
>>>if ( ($userAge >= 18) && ($userAge <= 80) ):
>>>return true;
>>>else:
>>>return false;
>>>endif;
>> 
>>> }
>> 
>>> Jeremy Burns
>>> Class Outfit
>> 
>>> jeremybu...@classoutfit.com
>>> http://www.classoutfit.com
>> 
>>> On 22 Jun 2010, at 10:16, jerry wrote:
>> 
 I have been using cakephp for a few weeks now but i have failed to
 know how to validate a date for example a birthday to make sure it's
 now greater than the current date.Could anyone point me to the right
 direction
>> 
 Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
 with their CakePHP related questions.
>> 
 You received this message because you are subscribed to the Google Groups 
 "CakePHP" group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php?hl=en
>> 
>>> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
>>> with their CakePHP related questions.
>> 
>>> You received this message because you are subscribed to the Google Groups 
>>> "CakePHP" group.
>>> To post to this group, send email to cake-php@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>>> athttp://groups.google.com/group/cake-php?hl=en
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: birthday validate

2010-06-23 Thread jerry
Is there a way to limit months just like maxYear or minYear? this
would be a lot more easier.

On Jun 22, 2:28 pm, Jeremy Burns | Class Outfit
 wrote:
> Sorry - just read the post properly and my answer wasn't your solution, but 
> it can be adapted. The key is to write a function and within that compare 
> $check['dob'] with today's date.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:
>
> > Add this to your model validation (assuming the field you are checking is 
> > called 'dob'):
>
> > 'dob' => array(
> >    'inRange' => array(
> >            'rule' => 'isAgeInAcceptedRange',
> >            'message' => 'You must be between the ages of 18 and 80.'
> >    )
> > ),
>
> > Then add this function to your model:
>
> > function isAgeInAcceptedRange($check) {
>
> >    list($Y,$m,$d) = explode("-", $check['dob']);
>
> >    $userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>
> >    if ( ($userAge >= 18) && ($userAge <= 80) ):
> >            return true;
> >    else:
> >            return false;
> >    endif;
>
> > }
>
> > Jeremy Burns
> > Class Outfit
>
> > jeremybu...@classoutfit.com
> >http://www.classoutfit.com
>
> > On 22 Jun 2010, at 10:16, jerry wrote:
>
> >> I have been using cakephp for a few weeks now but i have failed to
> >> know how to validate a date for example a birthday to make sure it's
> >> now greater than the current date.Could anyone point me to the right
> >> direction
>
> >> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> >> with their CakePHP related questions.
>
> >> You received this message because you are subscribed to the Google Groups 
> >> "CakePHP" group.
> >> To post to this group, send email to cake-php@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >> athttp://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: birthday validate

2010-06-22 Thread Jeremy Burns | Class Outfit
Sorry - just read the post properly and my answer wasn't your solution, but it 
can be adapted. The key is to write a function and within that compare 
$check['dob'] with today's date.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 22 Jun 2010, at 12:12, Jeremy Burns | Class Outfit wrote:

> Add this to your model validation (assuming the field you are checking is 
> called 'dob'):
> 
> 
> 'dob' => array(
>   'inRange' => array(
>   'rule' => 'isAgeInAcceptedRange',
>   'message' => 'You must be between the ages of 18 and 80.'
>   )
> ),
> 
> 
> Then add this function to your model:
>   
> function isAgeInAcceptedRange($check) {
> 
>   list($Y,$m,$d) = explode("-", $check['dob']);
> 
>   $userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );
>   
>   if ( ($userAge >= 18) && ($userAge <= 80) ):
>   return true;
>   else:
>   return false;
>   endif;
> 
> }
> 
> 
> Jeremy Burns
> Class Outfit
> 
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
> 
> On 22 Jun 2010, at 10:16, jerry wrote:
> 
>> I have been using cakephp for a few weeks now but i have failed to
>> know how to validate a date for example a birthday to make sure it's
>> now greater than the current date.Could anyone point me to the right
>> direction
>> 
>> Check out the new CakePHP Questions site http://cakeqs.org and help others 
>> with their CakePHP related questions.
>> 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php?hl=en
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: birthday validate

2010-06-22 Thread Jeremy Burns | Class Outfit
Add this to your model validation (assuming the field you are checking is 
called 'dob'):


'dob' => array(
'inRange' => array(
'rule' => 'isAgeInAcceptedRange',
'message' => 'You must be between the ages of 18 and 80.'
)
),


Then add this function to your model:

function isAgeInAcceptedRange($check) {

list($Y,$m,$d) = explode("-", $check['dob']);

$userAge = ( date("md") < $m.$d ? date("Y")-$Y-1 : date("Y")-$Y );

if ( ($userAge >= 18) && ($userAge <= 80) ):
return true;
else:
return false;
endif;

}


Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 22 Jun 2010, at 10:16, jerry wrote:

> I have been using cakephp for a few weeks now but i have failed to
> know how to validate a date for example a birthday to make sure it's
> now greater than the current date.Could anyone point me to the right
> direction
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en