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

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.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.