Re: not following naming conventions

2010-11-02 Thread grandioso
It still doesn't show me the error message I set up in the model :( I only get the fail message I specified in the controller. And in addition, it doesn't show the already-posted data, just the clear form which suck really hard. Check out the new CakePHP Questions site http://cakeqs.org and help

Re: not following naming conventions

2010-11-02 Thread euromark
how do you set the error message? you need to show us your controller code for this action otherwise we cannot help you On 2 Nov., 10:34, grandioso something.like.a.phenome...@gmail.com wrote: It still doesn't show me the error message I set up in the model :( I only get the fail message I

Re: not following naming conventions

2010-11-02 Thread cricket
On Tue, Nov 2, 2010 at 5:34 AM, grandioso something.like.a.phenome...@gmail.com wrote: It still doesn't show me the error message I set up in the model :( I only get the fail message I specified in the controller. And in addition, it doesn't show the already-posted data, just the clear form

not following naming conventions

2010-11-01 Thread grandioso
I've encountered a problem. I've created my model, controller and view for my DB table not following the naming convention. I've successfully set the model to use the table, but when I create a form in the view, it is given the wrong action parameter. So how do I set which controller should

Re: not following naming conventions

2010-11-01 Thread Nabil Alsharif
You can set the URL which the form posts to by setting the 'url' option in $form-create(). On 11/01/2010 01:52 PM, grandioso wrote: I've encountered a problem. I've created my model, controller and view for my DB table not following the naming convention. I've successfully set the model to use

Re: not following naming conventions

2010-11-01 Thread grandioso
Is there a way to also set which model should validate the data input by the form ? It seems like it doesn't recognize my model. 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

Re: not following naming conventions

2010-11-01 Thread Almudena Garcia
Hi, here you can find some information about the validation... http://book.cakephp.org/view/125/Data-Validation http://book.cakephp.org/view/125/Data-Validation 2010/11/1 grandioso something.like.a.phenome...@gmail.com Is there a way to also set which model should validate the data input by

Re: not following naming conventions

2010-11-01 Thread euromark
you can use the dot syntax for other models than the one specific in $this-Form-create(): $this-Form-input('OtherModel.other_model_field'); etc On 1 Nov., 21:19, Almudena Garcia garcia.fra...@gmail.com wrote: Hi, here you can find some information about the validation...