Solved

Which of the Following Allows You to Render a Custom

Question 3

Multiple Choice

Which of the following allows you to render a custom form element using a template?


A) Specify 'template'   => 'path/to/your/template' in the addFieId method's third parameter when configuring the form.
B) Set the template manually by calling $form->getElement () ->setTemplate (..) when configuring the form.
C) Specify the template in the element's protected variable $_template.
D) Create a custom renderer for the form element, and use an anonymous block to execute the template in it.
E) Extend your element from Mage_Core_Block_Template, and then specify the template in the constructor.

Correct Answer:

verifed

Verified

Related Questions