I think all you need is to define the name attribute of the button.
$html->submit('Go',array('name'=>'action'))

In your controller, the value of $this->data['action'] should be 'go'

Hope this is helpful

On Feb 7, 12:04 pm, "vidya" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'am new to cakephp.I have a question with the statement $html->submit('Go'); 
> Can i get the name of button "Go" in the controller
>
> when I click this button ?Can any one help me to solve this problem?
>
> Thanks,
> Vidya


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to