Magento2: How to add multiple fields in single row in magento edit formmagento2: how place 2-3 form fields in one row in admin edit formHow to add 2 input fields in one row using UI componentAdd input fields as grid structure in cms page edit formAdminhtml - Blank Edit Form, not showing data in the edit input fieldsMultiple fields per row in Magento admin edit formHow to include custom javascript to admihtml edit form in Magento 2?Magento 2 : How to add additional fields to newsletterMagento 2: Model edit form fields not loadingMagento2 : how to create admin page with configuration fieldsSet two fields in one row in admin form magento2How to wrap a class between each 2 form fields in checkout page magento2Magento 2 how to add extra validation to new Billing address form fields in checkout page

A word for delight at someone else's failure?

Explain why a line can never intersect a plane in exactly two points.

Why is "Congress shall have power to enforce this article by appropriate legislation" necessary?

Prisoner on alien planet escapes by making up a story about ghost companions and wins the war

How did the Vostok ejection seat safely eject an astronaut from a sealed space capsule?

Is the continuity test limit resistance of a multimeter standard?

When Bnei Yisroel travelled in the midbar, what happened on Shabbos?

What are Elsa's reasons for selecting the Holy Grail on behalf of Donovan?

Improve appearance of the table in Latex

Is there a term for the belief that "if it's legal, it's moral"?

Subtract the Folded Matrix

What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a dart mean?

Can i enter UK for 24 hours from a Schengen area holding an Indian passport?

Are there any individual aliens that have gained superpowers in the Marvel universe?

Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?

Mathematically modelling RC circuit with a linear input

Warnings using NDSolve on wave PDE. "Using maximum number of grid points" , "Warning: scaled local spatial error estimate"

Do I have to explain the mechanical superiority of the player-character within the fiction of the game?

Find All Possible Unique Combinations of Letters in a Word

How much steel armor can you wear and still be able to swim?

Can you use one creature for both convoke and delve for Hogaak?

Justifying Affordable Bespoke Spaceships

What are the current battlegrounds for people’s “rights” in the UK?

Exact functors and derived functors



Magento2: How to add multiple fields in single row in magento edit form


magento2: how place 2-3 form fields in one row in admin edit formHow to add 2 input fields in one row using UI componentAdd input fields as grid structure in cms page edit formAdminhtml - Blank Edit Form, not showing data in the edit input fieldsMultiple fields per row in Magento admin edit formHow to include custom javascript to admihtml edit form in Magento 2?Magento 2 : How to add additional fields to newsletterMagento 2: Model edit form fields not loadingMagento2 : how to create admin page with configuration fieldsSet two fields in one row in admin form magento2How to wrap a class between each 2 form fields in checkout page magento2Magento 2 how to add extra validation to new Billing address form fields in checkout page






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








1















Help me to add the multiple fields in single row of magento 2 edit form backend/admin..



for example:



I have two fields First name & Last Name which I want in same row.










share|improve this question






























    1















    Help me to add the multiple fields in single row of magento 2 edit form backend/admin..



    for example:



    I have two fields First name & Last Name which I want in same row.










    share|improve this question


























      1












      1








      1


      1






      Help me to add the multiple fields in single row of magento 2 edit form backend/admin..



      for example:



      I have two fields First name & Last Name which I want in same row.










      share|improve this question
















      Help me to add the multiple fields in single row of magento 2 edit form backend/admin..



      for example:



      I have two fields First name & Last Name which I want in same row.







      magento2 adminhtml admin-panel






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 15 '16 at 12:42









      Asish Hira

      1,66711036




      1,66711036










      asked Apr 15 '16 at 12:39









      Mohammad MujassamMohammad Mujassam

      1,2621327




      1,2621327




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You add like following



          <container name="name_group">
          <argument name="data" xsi:type="array">
          <item name="type" xsi:type="string">group</item>
          <item name="config" xsi:type="array">
          <item name="additionalClasses" xsi:type="string">admin__control-grouped-date</item>
          <item name="component" xsi:type="string">Magento_Ui/js/form/components/group</item>
          <item name="label" xsi:type="string" translate="true">Monday</item>
          <item name="required" xsi:type="boolean">false</item>
          <item name="sortOrder" xsi:type="number">220</item>
          <item name="breakLine" xsi:type="boolean">false</item>
          <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
          </item>
          </argument>
          <field name="first_name">
          <argument name="data" xsi:type="array">
          <item name="config" xsi:type="array">
          <item name="label" xsi:type="string" translate="true">Full Name</item>
          <item name="additionalClasses" xsi:type="string">admin__field-first-name</item>
          <item name="sortOrder" xsi:type="number">230</item>
          <item name="dataType" xsi:type="string">string</item>
          <item name="formElement" xsi:type="string">textarea</item>
          <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
          <item name="dataScope" xsi:type="string">first_name</item>
          </item>
          </argument>
          </field>
          <field name="last_name">
          <argument name="data" xsi:type="array">
          <item name="config" xsi:type="array">
          <item name="additionalClasses" xsi:type="string">admin__field-last-name</item>
          <item name="sortOrder" xsi:type="number">240</item>
          <item name="dataType" xsi:type="string">string</item>
          <item name="formElement" xsi:type="string">textarea</item>
          <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
          <item name="dataScope" xsi:type="string">last_name</item>
          </item>
          </argument>
          </field>
          </container>





          share|improve this answer























            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%2f111074%2fmagento2-how-to-add-multiple-fields-in-single-row-in-magento-edit-form%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You add like following



            <container name="name_group">
            <argument name="data" xsi:type="array">
            <item name="type" xsi:type="string">group</item>
            <item name="config" xsi:type="array">
            <item name="additionalClasses" xsi:type="string">admin__control-grouped-date</item>
            <item name="component" xsi:type="string">Magento_Ui/js/form/components/group</item>
            <item name="label" xsi:type="string" translate="true">Monday</item>
            <item name="required" xsi:type="boolean">false</item>
            <item name="sortOrder" xsi:type="number">220</item>
            <item name="breakLine" xsi:type="boolean">false</item>
            <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
            </item>
            </argument>
            <field name="first_name">
            <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Full Name</item>
            <item name="additionalClasses" xsi:type="string">admin__field-first-name</item>
            <item name="sortOrder" xsi:type="number">230</item>
            <item name="dataType" xsi:type="string">string</item>
            <item name="formElement" xsi:type="string">textarea</item>
            <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
            <item name="dataScope" xsi:type="string">first_name</item>
            </item>
            </argument>
            </field>
            <field name="last_name">
            <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
            <item name="additionalClasses" xsi:type="string">admin__field-last-name</item>
            <item name="sortOrder" xsi:type="number">240</item>
            <item name="dataType" xsi:type="string">string</item>
            <item name="formElement" xsi:type="string">textarea</item>
            <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
            <item name="dataScope" xsi:type="string">last_name</item>
            </item>
            </argument>
            </field>
            </container>





            share|improve this answer



























              0














              You add like following



              <container name="name_group">
              <argument name="data" xsi:type="array">
              <item name="type" xsi:type="string">group</item>
              <item name="config" xsi:type="array">
              <item name="additionalClasses" xsi:type="string">admin__control-grouped-date</item>
              <item name="component" xsi:type="string">Magento_Ui/js/form/components/group</item>
              <item name="label" xsi:type="string" translate="true">Monday</item>
              <item name="required" xsi:type="boolean">false</item>
              <item name="sortOrder" xsi:type="number">220</item>
              <item name="breakLine" xsi:type="boolean">false</item>
              <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
              </item>
              </argument>
              <field name="first_name">
              <argument name="data" xsi:type="array">
              <item name="config" xsi:type="array">
              <item name="label" xsi:type="string" translate="true">Full Name</item>
              <item name="additionalClasses" xsi:type="string">admin__field-first-name</item>
              <item name="sortOrder" xsi:type="number">230</item>
              <item name="dataType" xsi:type="string">string</item>
              <item name="formElement" xsi:type="string">textarea</item>
              <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
              <item name="dataScope" xsi:type="string">first_name</item>
              </item>
              </argument>
              </field>
              <field name="last_name">
              <argument name="data" xsi:type="array">
              <item name="config" xsi:type="array">
              <item name="additionalClasses" xsi:type="string">admin__field-last-name</item>
              <item name="sortOrder" xsi:type="number">240</item>
              <item name="dataType" xsi:type="string">string</item>
              <item name="formElement" xsi:type="string">textarea</item>
              <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
              <item name="dataScope" xsi:type="string">last_name</item>
              </item>
              </argument>
              </field>
              </container>





              share|improve this answer

























                0












                0








                0







                You add like following



                <container name="name_group">
                <argument name="data" xsi:type="array">
                <item name="type" xsi:type="string">group</item>
                <item name="config" xsi:type="array">
                <item name="additionalClasses" xsi:type="string">admin__control-grouped-date</item>
                <item name="component" xsi:type="string">Magento_Ui/js/form/components/group</item>
                <item name="label" xsi:type="string" translate="true">Monday</item>
                <item name="required" xsi:type="boolean">false</item>
                <item name="sortOrder" xsi:type="number">220</item>
                <item name="breakLine" xsi:type="boolean">false</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                </item>
                </argument>
                <field name="first_name">
                <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                <item name="label" xsi:type="string" translate="true">Full Name</item>
                <item name="additionalClasses" xsi:type="string">admin__field-first-name</item>
                <item name="sortOrder" xsi:type="number">230</item>
                <item name="dataType" xsi:type="string">string</item>
                <item name="formElement" xsi:type="string">textarea</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                <item name="dataScope" xsi:type="string">first_name</item>
                </item>
                </argument>
                </field>
                <field name="last_name">
                <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                <item name="additionalClasses" xsi:type="string">admin__field-last-name</item>
                <item name="sortOrder" xsi:type="number">240</item>
                <item name="dataType" xsi:type="string">string</item>
                <item name="formElement" xsi:type="string">textarea</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                <item name="dataScope" xsi:type="string">last_name</item>
                </item>
                </argument>
                </field>
                </container>





                share|improve this answer













                You add like following



                <container name="name_group">
                <argument name="data" xsi:type="array">
                <item name="type" xsi:type="string">group</item>
                <item name="config" xsi:type="array">
                <item name="additionalClasses" xsi:type="string">admin__control-grouped-date</item>
                <item name="component" xsi:type="string">Magento_Ui/js/form/components/group</item>
                <item name="label" xsi:type="string" translate="true">Monday</item>
                <item name="required" xsi:type="boolean">false</item>
                <item name="sortOrder" xsi:type="number">220</item>
                <item name="breakLine" xsi:type="boolean">false</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                </item>
                </argument>
                <field name="first_name">
                <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                <item name="label" xsi:type="string" translate="true">Full Name</item>
                <item name="additionalClasses" xsi:type="string">admin__field-first-name</item>
                <item name="sortOrder" xsi:type="number">230</item>
                <item name="dataType" xsi:type="string">string</item>
                <item name="formElement" xsi:type="string">textarea</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                <item name="dataScope" xsi:type="string">first_name</item>
                </item>
                </argument>
                </field>
                <field name="last_name">
                <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                <item name="additionalClasses" xsi:type="string">admin__field-last-name</item>
                <item name="sortOrder" xsi:type="number">240</item>
                <item name="dataType" xsi:type="string">string</item>
                <item name="formElement" xsi:type="string">textarea</item>
                <item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>
                <item name="dataScope" xsi:type="string">last_name</item>
                </item>
                </argument>
                </field>
                </container>






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 3 '17 at 15:07









                Kaushal SutharKaushal Suthar

                1,83211437




                1,83211437



























                    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%2f111074%2fmagento2-how-to-add-multiple-fields-in-single-row-in-magento-edit-form%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