Re: Error validation message

2007-08-22 Thread iritty
corrected, it was due to one date field validation On Aug 21, 4:24 pm, iritty <[EMAIL PROTECTED]> wrote: > Hi, > I have a user registration page. cake error validation for form fields > given working correctly on local machine. but not on the server. no > msg is shown. i am using cake 1.1. > pls

Error validation message

2007-08-21 Thread iritty
Hi, I have a user registration page. cake error validation for form fields given working correctly on local machine. but not on the server. no msg is shown. i am using cake 1.1. pls help --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: why cake don't show error validation message ?

2007-05-16 Thread [EMAIL PROTECTED]
So kindly you are! i'll read the articles you said above alse the whole manual . and try the firefox keyword search..although now i know little about it ..^__^ thanks for all your replies and .and...suffering my english - - THX!!! On 5月16日, 下午9时31分, Chowsapal <[EMAIL PROTECTED]> wrote: > Her

Re: why cake don't show error validation message ?

2007-05-16 Thread Chowsapal
Here are the entries in the API for $form->error (http:// api.cakephp.org/1.2/ class_form_helper.html#9c894167e29ab21edc471f7d9b2c9c59) and $form- >input (http://api.cakephp.org/1.2/ class_form_helper.html#83ef190e216e07fb0a77acc9014bb90d) -- they're not very different from their 1.1 counterparts.

Re: why cake don't show error validation message ?

2007-05-16 Thread [EMAIL PROTECTED]
TT thank you vvery much now i know my cake is v1.2 but the manual is for 1.1. any way i can change the error tag to other language ? On 5月16日, 下午9时05分, Chowsapal <[EMAIL PROTECTED]> wrote: > Do you have code in your post.php model declaring how you want to > validate the titl

Re: why cake don't show error validation message ?

2007-05-16 Thread Chowsapal
Do you have code in your post.php model declaring how you want to validate the title and body? Something like: $var validate => array( 'title' => VALID_NOT_EMPTY, 'body' => VALID_NOT_EMPTY ); Also, this is assuming you're using Cake 1.1, 1.2 handles errors a little differently, either using

Re: why cake don't show error validation message ?

2007-05-16 Thread [EMAIL PROTECTED]
another question: how to change default layout with the title "CakePHP: the PHP Rapid Development Framework"? i wish the page only show my own views . thsnks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH

why cake don't show error validation message ?

2007-05-16 Thread [EMAIL PROTECTED]
i copy the view from manual like this: Add Post Title: input('Post/title', array('size' => '40'))?> tagErrorMsg('Post/title', 'Title is required.') ?> Body: textarea('Post/body', array('rows'=>'10')) ? > tagErrorMsg('Post/body', 'Body