New to Yii and currently working on a ActiveForm which is presenting data. Is there an option to display the data as strings + the labels?
I might be going about this completely the wrong way as well.
I am trying to use the ActiveForm to display READABLE data only. I do not need form input elements just the label and data.
I would get:
FirstName: <input name=FirstName value="FirstName">
In essence, is there something like ActiveForm->field(‘FirstName’)->Value so as to not generate input elements and print the label and the value.
If this is not the correct way, what should I be looking at? ActiveForm seems like a good way to do this.