the error message has told you what 's going wrong . “Pessoa.telefone_residencial” is not defined"
the telefone_rsidencial is not defined in your model class "Pessoa" . if you extend the CActiveRecord the telefone_rsidencial
may be your table filed (do not need to define ) or define it as a public attribute of the Pessoa class (the field do not belong to the corresponding table ). if you extend the CFormModel the all fields using in your _form view should be defined
I´m extending from CActiveRecord and telefone_residencial is a table field from Pessoa Class.
But there is a weird thing about it.
When I run the application under an apache server in linux or windows xp occurs this error, but when I run the application under an apache for windows 7, the application runs normally.
And also, it just occurs when I use CMaskedTextField, if I change to a simple textfield, it works normally.