Hi I want to create a dropdown select to change the order for price asc / desc.
As i need this: sort:price/direction:asc How can I add this to my dropdown? How should the syntax look like? $pricesort = array( 'desc' => 'Sort DESC', 'asc' => 'Sort ASC', ); echo $this->Form->input('direction', array('label' => __('Sort'), 'empty' => __('Choose'), 'options' => $pricesort, 'id' => 'sort', 'class' => 'styled-select')); This will return only the direction, but how can I give also the price information? With a hidden field? Please help! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php