Re: Form input selected

2012-02-25 Thread heohni
Hi Mark! What do you mean by passing it on to the view via $this-request- data? Can you please give me an example? On 25 Feb., 01:10, euromark dereurom...@googlemail.com wrote: yes you should never use those named params without checking for them first and - I would put the logic in the

Form input selected

2012-02-24 Thread heohni
Hi, I am using the ajax pagination and my url looks like this: /search/cat:12/city:67/sleeps:1/price:2 I have for each a dropdown input select: $this-Form-input('cat', array('options' = $getCategories, 'selected' = $this-request-params['named']['cat'])); But what I want to know, what is best

Re: Form input selected

2012-02-24 Thread euromark
yes you should never use those named params without checking for them first and - I would put the logic in the controller passing it on to the view via $this-request-data thats a cleaner approach than using the form here for the selected value On 24 Feb., 20:51, heohni