Re: get input value to perform a custom search

2011-06-28 Thread Facu Siracusa
Hi, I tried previously to this post to use a Form, but it doesn't work to me... can you post a brief code example to show me hoy to use the form?? Do I have to create a Film like $this->Form->create('Film')??? and in the controller i have to use $title = $this->data, instead of use $title as a par

get input value to perform a custom search

2011-06-27 Thread Facu Siracusa
Hi all! I want to perform a search on the database depending on an input from the user. In the view I have this snippet of code: input('Title to search:',array('id'=>'inputfilter','name'=>'input','label'=>'Title to search')); ?>