Am trying to get the value of a model in a form using CHtml::value and seem to be having some issues when it has more than one level of depth.
The fields name in the form is
and I want to get the value of it.
Currently I have:
echo CHtml::value($todo, 'date_completed')
but it returns the error:
Property "MilestoneTodo.date_completed" is not defined.
Any ideas? Thanks!