Here is what Matthew found out to be the problem. Just posting the solution
for anyone else who has my same issue.



Matthew Weier O'Phinney-3 wrote:
> 
>> I forgot to include that at the top of my viewscript before was the
>> following code:
>>
>> foreach ($this->element as $element):
>>          $element->setView($this);
>> endforeach;
>>
>> I changed it to what you suggested and still no elements are being
>> displayed.
>>
>> At the top of my viewscript now is:
>>
>> foreach ($this->element as $element) {
>>          $element->setView($this);
>>      }
>>
>> Also the getAction() and getMethod() don't output any data.
> 
> Figured it out. You're using:
> 
>    <? $this->element->firstName ?>
> 
> instead of :
> 
>    <?= $this->element->firstName ?>
> 
> The first doesn't echo anything. ;)
> 
-- 
View this message in context: 
http://www.nabble.com/Zend_Form-ViewScript-Elements-don%27t-show-tp19696062p19696735.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to