$this-element('register'); ?
I created form in element, a same way in view.
?php $customers = $this-requestAction('customers/add'); ?
div class=customers form
?php echo $this-Form-create('Customer'); ?
?php
echo $this-Form-input('salutation', array
in cakePHP. I have template where
are put all divs and from jQuery then show or hidden appropriate div. I
have two div with forms to store some data in db. I crated elements for my
div-s, and then in my layout, in each div i put br/
? php echo $this-element('register'); ?
I created form
Hi All,
I have a Form which contains only checkbox with different Attributes.I
have a array with key value pair of name of the input field and check box
values and i have passed the same to the view. I am using that form in the
another view as a element however as a element it
Hi:
I have a, hopefully, silly problem. Can you help ?
I have for Form-Button in my view that looks like this...
?php echo $form-button('Edit', array('class'=btnEdit,
'escape'=true, 'type'=button)); ?
Now, I would like to add a small img (png) before 'Edit' to make it
pretty.
?php echo
why are you purposely setting 'escape'=true?
if you want to use html inside an element you are shooting yourself in
the foot this way.
it should rather by false then.
On 7 Dez., 21:10, Blues Clues bluesclu...@gmail.com wrote:
Hi:
I have a, hopefully, silly problem. Can you help ?
I have for
Yes, you are correct. I guess, I was being ignorant. Thanks. It works
now.
On Dec 7, 3:49 pm, euromark dereurom...@googlemail.com wrote:
why are you purposely setting 'escape'=true?
if you want to use html inside an element you are shooting yourself in
the foot this way.
it should rather by
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
: 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 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
I have a form in an element and wondering how to return back to the page it
was sent from if its successful or if there are errors display the errors on
the same page.
Basically its a side menu and at the bottom a mini form to signup for
newsletter which is on every page. So if the user adds
wrote:
I have a form in an element and wondering how to return back to the page it
was sent from if its successful or if there are errors display the errors on
the same page.
Basically its a side menu and at the bottom a mini form to signup for
newsletter which is on every page. So if the user
if (element._prototypeEventID) return element._prototypeEventID[0];
Source File: /prototype.js
Line: 3847
If I remove the ajax line, the error is not there. Have I written it
wrong?
Hope someone can help me.
Regrads,
Mohammadreza
--
View this message in context:
http://n2.nabble.com/ajax-form
11 matches
Mail list logo