Re: disabled or readonly field 's problem

2012-05-12 Thread Min Hong Tan
hi, thanks. def clean_pt_type(self): data = self.initial['pt_type'] and solve the problem. On Fri, May 11, 2012 at 10:56 PM, azizmb.in wrote: > Hey! > > You could clean the protected fields from the model data by overriding > "clean" methods of the form. The

Re: disabled or readonly field 's problem

2012-05-11 Thread azizmb.in
Hey! You could clean the protected fields from the model data by overriding "clean" methods of the form. The documentation is here . On Sat, May 12, 2012 at 8:56 AM, Min Hong Tan

disabled or readonly field 's problem

2012-05-11 Thread Min Hong Tan
hi, i have a problem on the formmodel. basically, to set the field read only and disabled is easy. but, the problem which I facing now, is a bit complicated. - if set field "read-only" field. We can actually modify the record by using web developer tools by press "F12" to modify the record and