Re: action parameters lost after data validation

2009-03-28 Thread JamesF
this should have been more obvious but echo $form->input('id', array("type" => "hidden","value" => $this->data ['Model']['id'])); solution made sure my edit form stayed an edit form and didn't lose it's parameters On Mar 27, 5:20 pm, JamesF wrote: > i am having the same problem withvalidationm

Re: action parameters lost after data validation

2009-03-27 Thread JamesF
i am having the same problem with validation making me lose my action parameters. still trying to figure out best way to pass back action parameter after failed validation. On Mar 18, 12:08 pm, koala kid wrote: > Thanks for your reply. > > Myvalidationhas become a little more complicated since

Re: action parameters lost after data validation

2009-03-18 Thread koala kid
Thanks for your reply. My validation has become a little more complicated since yesterday as I am trying to validate 1 field but that field belongs to related model. In that case where should I perform the validation and how would I pass the ID back most effectively. On Mar 17, 8:50 pm, brian

Re: action parameters lost after data validation

2009-03-17 Thread brian
On Tue, Mar 17, 2009 at 4:12 PM, koala kid wrote: > > Hi, > > I am fairly new to cake and I'm making some fixes for a client on a > CMS tool someone developed for them using cake. I am trying to add a > custom validation rule on one of the forms but if it fails the ID > parameter in the URL is be

action parameters lost after data validation

2009-03-17 Thread koala kid
Hi, I am fairly new to cake and I'm making some fixes for a client on a CMS tool someone developed for them using cake. I am trying to add a custom validation rule on one of the forms but if it fails the ID parameter in the URL is being lost and the edit fails to update. Do I have to explicitly