this one can be done by using setFieldAttribute within the function "getform" of the model.
keep in mind that the code for handling the attribute should be in the field.
what i mean is that when you set a field to disabled it would be good to check if the field also knows what to do with the "disabled" value.