Form send data validation

Hello, i would like to know, what is possible verify that form was send to action?

I can able to only verify, that send form is not empty.

{{{

else if(empty($this->data)){

$this->Session->setFlash(__('No data inserted', true));

}

}}}

Thanks for any reply..

Asked by blacksymmetry, on 16/2/10

1 Answer

that is how, if $this->data is empty the form is not submitted

Answered by dogmatic69on 16/2/10

why do you not use bake to generate some code for you and then you will see how it is done, how it should be done

dogmatic69 - on 17/2/10

<< comments | 1 | 2
<< previous next >>

Your Answer

You can use Creole Wiki Syntax to format your text.

Tagged with

Rating

0

Viewed

136 times

Last Activity

on 17/2/10