How do I implement Advanced combobox in CakePHP
Posted
by
skr
on Stack Overflow
See other posts from Stack Overflow
or by skr
Published on 2008-12-11T10:57:22Z
Indexed on
2012/09/29
15:38 UTC
Read the original article
Hit count: 250
I have implemented combobox in cakephp using following statement -
echo $form->select('brand_id',array($brands),null,array(),'Choose Brand');
for brand and input form for category -
echo $form->input('category_id',array('type'=>'select',$categories,'empty'=>'Choose Category'));
but none of above option allows me to add my text input to brand or category, like say I want to add an input which is not there in the combobox, how should i go about it.
Like a link in the combobox or textbox in combobox?
-skr
© Stack Overflow or respective owner