Do I understand you correctly:
You have set validation rules in the model.
You have a form in your view but your view does not show the errors
for each field in your form.

First, add some error texts to your model. For example:
'mark1'=>array(
     'rule'=>VALID_NOT_EMPTY,
     'message'=>'Field cannot be empty'
)

Then make sure you are calling $form->input() in your view (and not
$form->password or one of the other named inputs).

Download and take a look at one of the available projects using Cake.
Like Neutrino CMS for example. It is fairly small and very clearly
written. You can compare the validation codee there with your own and
maybe see something you have missed.
http://dsi.vozibrale.com/articles/view/neutrinocms-0-1-beta-has-been-released

/Martin


On Nov 12, 12:31 pm, sun <[EMAIL PROTECTED]> wrote:
> hello  David
>
>  can u  give some related ideas  how to solve  that problem  any other
> validation function  will be add in controller  section?
>
> by
> sundar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to