-- mark_79_smith <[email protected]> wrote (on Monday, 09 March 2009, 12:46 PM -0700): > > I think that is standard behaviour for forms in general. Disabled elements in > forms will not be sent with the rest of the elements.
Yes, precisely. Disabled == not submitted; readonly == not mutable. > Thomas VEQUAUD wrote: > > I'd like to use the same form in differents modes : "write" (evaluator) > > and > > then "readonly" (assessed)... So, for the second mode, I wanted to use > > setAttrib to disable inputs form but, by this way, input values are > > ignored. > > I tried to use setIgnore(false) but same thing : values ignored. > > I think that setAttrib should just modify the HTML display, not the > > behaviour of a form element. -- Matthew Weier O'Phinney Software Architect | [email protected] Zend Framework | http://framework.zend.com/
