Hi guys,
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
MilestoneTodo[1][1][date_completed]
and I want to get the value of it.
Currently I have:
echo CHtml::value($todo, '[1][1]date_completed')
but it returns the error:
Property "MilestoneTodo.[1][1]date_completed" is not defined.
Any ideas? Thanks!