default value in CActiveForm's textField()

Just for future reference, if you specify the default value in the form it will override the value when editing the record. Better to do it in the model, testing if the value is set or not…