U could try with: $form->input('frmInputQuantity', array('label'=>'Quantity:', 'readonly'=>'readonly'));
On 22 Jan., 22:49, Pyrite <thelette...@gmail.com> wrote: > I want to have a form text input get submitted, but also want it to be > disabled on display. > > Eg. $form->input('frmInputQuantity', array('label'=>'Quantity:', > 'disabled'=>'disabled')); > > This does not get submitted into $this->data. How can I change what > gets posted to $this->data with the form helper? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---