Hi! Are you sure you dont mean "submit button"? If thats the case you should use:
$form->submit('Example'); On 25 Okt, 13:59, senser <[EMAIL PROTECTED]> wrote: > Tonight I upgraded CakePHP to latest release - 1.2.0.5875-pre-beta ana > all buttons in layouts of my currently developed application went away > Untill now I used htmlHelpe to create buttons (because formHelper > says: "Don't use me yet") with this code: > print $html->input('CustomerDetail.id', array('type'=>'button', > 'value'=>'Edit')); > > But now this code produces a text field. I tried with formHelper too > but no success. > > Here is what I tried: > print $html->input('CustomerDetail.id', array('type'=>'button', > 'value'=>'Edit')); //Produces text field > print $form->input('CustomerDetail.id', array('type'=>'button')); // > Producess textarea field > print $form->button('Edit', 'button'); //Error > > Am I missing something or what ??? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---