Re: Form in Element instead of View

2014-08-06 Thread José Lorenzo
'customer' is not an HTTP method, maybe you are confusing the is('post') as if it were a Post model and not a POST request. Just change that if to: if($this->request->is('post')) { On Wednesday, August 6, 2014 12:19:56 PM UTC+2, Jovan Chee Nanić wrote: > > I have to do one page web application

Re: Form in element

2010-02-04 Thread John Andersen
ilto:cake-...@googlegroups.com] On Behalf > > Of John Andersen > Sent: February-04-10 4:16 AM > To: CakePHP > Subject: Re: Form in element > > If I understand you correctly Dave, then you have a page A on which is a > newsletter signup form. When the user submits an e-mail ad

RE: Form in element

2010-02-04 Thread Dave
where I was but the form has no errors hilighted saying why failed. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of John Andersen Sent: February-04-10 4:16 AM To: CakePHP Subject: Re: Form in element If I understand you correctly Dave, then

Re: Form in element

2010-02-03 Thread John Andersen
If I understand you correctly Dave, then you have a page A on which is a newsletter signup form. When the user submits an e-mail address, you want to present the user to page B if the e-mail address is valid. If the e-mail address is not valid, stay on page A. Correct? Assuming I am correct :) ...