validate domain denote list (cakephp)


i've got denote cakephp doesn't have table, called upload. i've got validation denote domain called source_id.



i've got form builds good looking $this-data, giving me good formated set, including:



$this->data['upload']['source_id']


however, validation order i have set doesn't seem run during all. i copied validation order another denote where does work, i'm positive works:



var $validate = array(
'source_id' => array(
rule' => 'numeric',
'required' => true,
'allowempty' => false,
'message' => 'error!.'
)
);


can countenance fields denote lacks database table?



the form uses upload model, submits another controller movement method.



cakephp 1.2, php/mysql 5, xampp.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?