Sunday, April 14, 2013

Ending Form without a button in CakePHP


The FormHelper outputs a submit button when a string is supplied as the first parameter to end().

Hence if u want to end a form without a button, do as below:

<?php echo $this->Form->end(); ?>

No comments:

Post a Comment