Arnaud,

I ran into the same thing. I opened an issue for this
http://framework.zend.com/issues/browse/ZF-1146. 

Jim


Arnaud Limbourg wrote:
> 
> Hi all,
> 
> When using the form helpers I noticed that passing an attribute of 
> readonly => readonly effectively disables (in the framework sense) the 
> element. It is then replaced with a hidden element of the same name.
> 
> I'm quite baffled as to why it does that. My use case is that I have a 
> text field that gets filled in from a calendar and I do not want the 
> user to enter a date by hand so I need the field readonly but not
> disabled.
> 
> Thoughts, ideas ?
> 
> Arnaud.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_View-form-helpers-tf3192722s16154.html#a9699749
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to