0

I added a custom tab in cms page edit form. In custom tab I create a form, and now I want to add/append a template(some input fields in grid structure) in this form in custom tab as a fieldset of cms page edit form.

here are example of template structure:

..................................................................

Textbox | checkbox | checkbox | checkbox

Textbox | checkbox | checkbox | checkbox

Textbox | checkbox | checkbox | checkbox

................................................................

Please help me how can i get done this task? Thanks in advance.

asked Aug 17, 2013 at 7:15

1 Answer 1

1

Take a look at the way you can specify a custom option for a product (Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Option) and the assigned template file (catalog/product/edit/options/option.phtml in adminhtml). Here you can see how to setup a row (var firstStepTemplate) that and the needed javascript to add/remove rows.

answered Aug 17, 2013 at 13:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.