> I want to have a form text input get submitted, but also want it to be
> disabled on display.

>From http://www.w3.org/TR/html401/interact/forms.html#h-17.12 :

...the INPUT element is disabled. Therefore, it cannot receive user
input nor will its value be submitted with the form.

you also need to add the field as hidden, so it's value will be posted.


> 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 [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