Sunday, August 29, 2010

Re: Form Submit Mystery

I think you might want to use the $this->Form->submit() method
instead.

On Aug 29, 7:34 am, "Dave Maharaj" <m...@davemaharaj.com> wrote:
> I cant figure out why my button says "submit Query" (1.3.3)
>
> I have <?php echo $this->Form->button('Login', array ('type' => 'submit')
> );?>
>
> If I use <?php echo $this->Form->button('Login', array ('type' => 'submit' ,
> 'value' => 'Login') );?> with the value it show "login" but that's not how
> it should work. correct?
>
> Thanks
>
> Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: