When I do this and I edit a record, the 'disabled' field will be empty. I
think there should be a check somewhere that leaves out disabled fields
from the mysql update statement.
From pao.fre...@gmail.com on December 08, 2008 21:23:56
Security measures added to make sure no one is bypassing the attribute. (like the
tamperdata, webdeveloper extension, etc, etc)
Original author: mdekke...@gmail.com (December 08, 2008 10:40:55)
I read in the SVN that we can now set attributes:
When use forms we now have the ability to set fields attributes, like style, class, etc, etc.
$lastName = new Bvb_Grid_Form_Column ( 'lastname' ); $lastName->title ( 'Last name' ) ->attributes(array('style'=>'width:50%','disabled'=>'disabled'))
->description ( 'Your last name' )
When I do this and I edit a record, the 'disabled' field will be empty. I think there should be a check somewhere that leaves out disabled fields from the mysql update statement.
Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=15