Magento 2 Adminhtml spreading forms across multiple tabsAdminhtml Modal LayoutAdmin tab content renders on the leftMagento 2 - Dynamic rows based on related products modal grid on custom form with tabsChange tab content with dropdown value?Submit Button in UIComponentMagento 2: Add product grid into ui form tab using insertListingMagento 2.3.0 : Adminhtml spreading forms across multiple tabs Doesn't post all fieldset dataHow to call functions in ui_component Magento 2Nested Fieldsets breaks forms inputs within UI ComponentsDynamic forms on backend

Why doesn't a marching band have strings?

Can ADFS connect to other SSO services?

Is my Rep in Stack-Exchange Form?

Are all instances of trolls turning to stone ultimately references back to Tolkien?

C-152 carb heat on before landing in hot weather?

Wifi dongle speed is slower than advertised

Is this one of the engines from the 9/11 aircraft?

In the Marvel universe, can a human have a baby with any non-human?

Where can I find a database of galactic spectra?

If I wouldn't want to read the story, is writing it still a good idea?

Why is the voltage measurement of this circuit different when the switch is on?

Is a single radon-daughter atom in air a solid?

How was Hillel permitted to go to the skylight to hear the shiur

Links to webpages in books

Cascading Repair Costs following Blown Head Gasket on a 2004 Subaru Outback

What are the penalties for overstaying in USA?

Do I have any obligations to my PhD supervisor's requests after I have graduated?

Why do some games show lights shine thorugh walls?

How dangerous are set-size assumptions?

What is this tool/thing in an Aztec painting?

Hot coffee brewing solutions for deep woods camping

Did Karl Marx ever use any example that involved cotton and dollars to illustrate the way capital and surplus value were generated?

What is the legal status of travelling with methadone in your carry-on?

How can I politely work my way around not liking coffee or beer when it comes to professional networking?



Magento 2 Adminhtml spreading forms across multiple tabs


Adminhtml Modal LayoutAdmin tab content renders on the leftMagento 2 - Dynamic rows based on related products modal grid on custom form with tabsChange tab content with dropdown value?Submit Button in UIComponentMagento 2: Add product grid into ui form tab using insertListingMagento 2.3.0 : Adminhtml spreading forms across multiple tabs Doesn't post all fieldset dataHow to call functions in ui_component Magento 2Nested Fieldsets breaks forms inputs within UI ComponentsDynamic forms on backend






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








35















I'm attempting to create a backend module, wherein on my edit page I use admin-2column-left layout.



I want to have a form on each tab, but I do not understand how I can do this.

Ideally, I would like to know how to assign different form uiComponents to different tabs, or how I can define one uiComponent for my form, but be able to assign which field set goes on which tab.



My specific situation, which provokes this question, is that I want to have a standard form on one tab (multiple text inputs), and on another tab, I want to have a dynamicRows UI component. We have called these tabs Main and Line Items.




Currently, I am implementing this as follows:
Main is defined in the _prepareForm method within its block, which is a class extension FormGeneric. This form appears and works fine until I add the dynamic rows.




My layout file has code to add the Main tab and assign content block. As well it has a container named line_items, which contains a uiComponent for the form containing dynamic rows.



The Line Items tab is created in the _beforeToHtml method of the WidgetTab, and its content is assigned by using a call to getChildHtml on a line_items container. The tab works and is populated with the correct structure, allowing me to add and remove rows.




The issue is that when I submit the page, only the inputs in the Line Items tab are submitted.




So I know I have not set this up correctly, and need some way to instruct it to track and submit all the form elements. Most of this implementation is derived from my attempts to reverse engineer the setup of the Category Product Attributes form, which is similar to what I want to do.










share|improve this question
























  • Did you ever figure this out?

    – jamil
    Feb 19 '18 at 22:51






  • 1





    Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

    – brentwpeterson
    Mar 11 '18 at 13:45











  • @Stephen Fritz - Could you please provide an screenshot how do you looking for ?

    – Praful Rajput
    Apr 6 '18 at 11:18











  • May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

    – Herve Tribouilloy
    Jun 18 '18 at 11:48






  • 1





    @stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

    – Abdul Kadir
    Mar 14 at 4:50

















35















I'm attempting to create a backend module, wherein on my edit page I use admin-2column-left layout.



I want to have a form on each tab, but I do not understand how I can do this.

Ideally, I would like to know how to assign different form uiComponents to different tabs, or how I can define one uiComponent for my form, but be able to assign which field set goes on which tab.



My specific situation, which provokes this question, is that I want to have a standard form on one tab (multiple text inputs), and on another tab, I want to have a dynamicRows UI component. We have called these tabs Main and Line Items.




Currently, I am implementing this as follows:
Main is defined in the _prepareForm method within its block, which is a class extension FormGeneric. This form appears and works fine until I add the dynamic rows.




My layout file has code to add the Main tab and assign content block. As well it has a container named line_items, which contains a uiComponent for the form containing dynamic rows.



The Line Items tab is created in the _beforeToHtml method of the WidgetTab, and its content is assigned by using a call to getChildHtml on a line_items container. The tab works and is populated with the correct structure, allowing me to add and remove rows.




The issue is that when I submit the page, only the inputs in the Line Items tab are submitted.




So I know I have not set this up correctly, and need some way to instruct it to track and submit all the form elements. Most of this implementation is derived from my attempts to reverse engineer the setup of the Category Product Attributes form, which is similar to what I want to do.










share|improve this question
























  • Did you ever figure this out?

    – jamil
    Feb 19 '18 at 22:51






  • 1





    Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

    – brentwpeterson
    Mar 11 '18 at 13:45











  • @Stephen Fritz - Could you please provide an screenshot how do you looking for ?

    – Praful Rajput
    Apr 6 '18 at 11:18











  • May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

    – Herve Tribouilloy
    Jun 18 '18 at 11:48






  • 1





    @stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

    – Abdul Kadir
    Mar 14 at 4:50













35












35








35


7






I'm attempting to create a backend module, wherein on my edit page I use admin-2column-left layout.



I want to have a form on each tab, but I do not understand how I can do this.

Ideally, I would like to know how to assign different form uiComponents to different tabs, or how I can define one uiComponent for my form, but be able to assign which field set goes on which tab.



My specific situation, which provokes this question, is that I want to have a standard form on one tab (multiple text inputs), and on another tab, I want to have a dynamicRows UI component. We have called these tabs Main and Line Items.




Currently, I am implementing this as follows:
Main is defined in the _prepareForm method within its block, which is a class extension FormGeneric. This form appears and works fine until I add the dynamic rows.




My layout file has code to add the Main tab and assign content block. As well it has a container named line_items, which contains a uiComponent for the form containing dynamic rows.



The Line Items tab is created in the _beforeToHtml method of the WidgetTab, and its content is assigned by using a call to getChildHtml on a line_items container. The tab works and is populated with the correct structure, allowing me to add and remove rows.




The issue is that when I submit the page, only the inputs in the Line Items tab are submitted.




So I know I have not set this up correctly, and need some way to instruct it to track and submit all the form elements. Most of this implementation is derived from my attempts to reverse engineer the setup of the Category Product Attributes form, which is similar to what I want to do.










share|improve this question
















I'm attempting to create a backend module, wherein on my edit page I use admin-2column-left layout.



I want to have a form on each tab, but I do not understand how I can do this.

Ideally, I would like to know how to assign different form uiComponents to different tabs, or how I can define one uiComponent for my form, but be able to assign which field set goes on which tab.



My specific situation, which provokes this question, is that I want to have a standard form on one tab (multiple text inputs), and on another tab, I want to have a dynamicRows UI component. We have called these tabs Main and Line Items.




Currently, I am implementing this as follows:
Main is defined in the _prepareForm method within its block, which is a class extension FormGeneric. This form appears and works fine until I add the dynamic rows.




My layout file has code to add the Main tab and assign content block. As well it has a container named line_items, which contains a uiComponent for the form containing dynamic rows.



The Line Items tab is created in the _beforeToHtml method of the WidgetTab, and its content is assigned by using a call to getChildHtml on a line_items container. The tab works and is populated with the correct structure, allowing me to add and remove rows.




The issue is that when I submit the page, only the inputs in the Line Items tab are submitted.




So I know I have not set this up correctly, and need some way to instruct it to track and submit all the form elements. Most of this implementation is derived from my attempts to reverse engineer the setup of the Category Product Attributes form, which is similar to what I want to do.







magento2 adminhtml uicomponent backend adminform






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 14 at 11:05









Aasim Goriya

3,2371 gold badge11 silver badges43 bronze badges




3,2371 gold badge11 silver badges43 bronze badges










asked Jul 8 '16 at 5:50









Stephen FritzStephen Fritz

3712 silver badges5 bronze badges




3712 silver badges5 bronze badges












  • Did you ever figure this out?

    – jamil
    Feb 19 '18 at 22:51






  • 1





    Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

    – brentwpeterson
    Mar 11 '18 at 13:45











  • @Stephen Fritz - Could you please provide an screenshot how do you looking for ?

    – Praful Rajput
    Apr 6 '18 at 11:18











  • May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

    – Herve Tribouilloy
    Jun 18 '18 at 11:48






  • 1





    @stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

    – Abdul Kadir
    Mar 14 at 4:50

















  • Did you ever figure this out?

    – jamil
    Feb 19 '18 at 22:51






  • 1





    Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

    – brentwpeterson
    Mar 11 '18 at 13:45











  • @Stephen Fritz - Could you please provide an screenshot how do you looking for ?

    – Praful Rajput
    Apr 6 '18 at 11:18











  • May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

    – Herve Tribouilloy
    Jun 18 '18 at 11:48






  • 1





    @stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

    – Abdul Kadir
    Mar 14 at 4:50
















Did you ever figure this out?

– jamil
Feb 19 '18 at 22:51





Did you ever figure this out?

– jamil
Feb 19 '18 at 22:51




1




1





Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

– brentwpeterson
Mar 11 '18 at 13:45





Stephen - I am assuming that you have found a solution after all this time? If so can you please update this with your solution?

– brentwpeterson
Mar 11 '18 at 13:45













@Stephen Fritz - Could you please provide an screenshot how do you looking for ?

– Praful Rajput
Apr 6 '18 at 11:18





@Stephen Fritz - Could you please provide an screenshot how do you looking for ?

– Praful Rajput
Apr 6 '18 at 11:18













May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

– Herve Tribouilloy
Jun 18 '18 at 11:48





May I ask whether this question still needs an answer? If it does, I might verify I understand the problem: are we trying to build a backend screen with separate forms in it? or is a screen with multiple tabs (uiComponent fashion) be a solution to this issue?

– Herve Tribouilloy
Jun 18 '18 at 11:48




1




1





@stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

– Abdul Kadir
Mar 14 at 4:50





@stephen Fritz - Please try to change fieldset name because it must be unique may be its conflicting somewhere else. i have same issued and its solve by changing fieldset's name

– Abdul Kadir
Mar 14 at 4:50










0






active

oldest

votes














Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f124794%2fmagento-2-adminhtml-spreading-forms-across-multiple-tabs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f124794%2fmagento-2-adminhtml-spreading-forms-across-multiple-tabs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form