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;
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
add a comment |
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
add a comment |
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
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
magento2 adminhtml admin-panel
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
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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>
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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>
add a comment |
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>
add a comment |
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>
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>
answered Aug 3 '17 at 15:07
Kaushal SutharKaushal Suthar
1,83211437
1,83211437
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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