How admin form are submitted in magento 2Magento 2 : How can I upload files of dynamically added file input fields in the adminHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlRedeclare UI form component in Magento 2Magento 2: Submitted Form not calling Controllermain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Submit Files in Admin Form - Magento 1.7Magento2 : How to add tooltip to admin form input fieldMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom Options
When do characters level up?
Where did Wilson state that the US would have to force access to markets with violence?
Crossing US border with music files I'm legally allowed to possess
Command to Search for Filenames Exceeding 143 Characters?
How to capture more stars?
Can you heal a summoned creature?
What are the benefits of cryosleep?
Mother abusing my finances
Array Stutter Implementation
How do I subvert the tropes of a train heist?
Is there a general effective method to solve Smullyan style Knights and Knaves problems? Is the truth table method the most appropriate one?
Is there a down side to setting the sampling time of a SAR ADC as long as possible?
Were pens caps holes designed to prevent death by suffocation if swallowed?
Full backup on database creation
Rests in pickup measure (anacrusis)
What is the object moving across the ceiling in this stock footage?
Full horizontal justification in table
Is one obligated to listen to a Rav?
Where is the logic in castrating fighters?
Placing bypass capacitors after VCC reaches the IC
Infinite Sequence based on Simple Rule
Should I disclose a colleague's illness (that I should not know about) when others badmouth him
How many chess players are over 2500 Elo?
Can a wire having a 610-670 THz (frequency of blue light) AC frequency supply, generate blue light?
How admin form are submitted in magento 2
Magento 2 : How can I upload files of dynamically added file input fields in the adminHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlRedeclare UI form component in Magento 2Magento 2: Submitted Form not calling Controllermain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Submit Files in Admin Form - Magento 1.7Magento2 : How to add tooltip to admin form input fieldMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom Options
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm wondering how form inputs are interpreted in magento2 admin grids.
For example, add an input (manually via navigator console) in cart price rule creation form. The input value will not be sent with other parameters.
It's the same when adding an input with "htmlContent" element in ui_component form.
How to make my input sent with htmlContent ?
Edit :
This code in custom admin grid ui_component xml file :
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
---
<fieldset name="custom" sortOrder="20">
<settings>
<collapsible>false</collapsible>
<label translate="true">Custom</label>
</settings>
<container name="custom_container" sortOrder="10">
<htmlContent name="html_content">
<block class="MagentoFrameworkViewElementTemplate" template="Vendor_Module::input.phtml" />
</htmlContent>
</container>
</fieldset>
</form>
input.phtml :
<input type="text" name="test_input" value="test_input" />
Input is not sent with the other <field>
attributes of the ui_component form.
magento2 admin forms submit-form
New contributor
add a comment |
I'm wondering how form inputs are interpreted in magento2 admin grids.
For example, add an input (manually via navigator console) in cart price rule creation form. The input value will not be sent with other parameters.
It's the same when adding an input with "htmlContent" element in ui_component form.
How to make my input sent with htmlContent ?
Edit :
This code in custom admin grid ui_component xml file :
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
---
<fieldset name="custom" sortOrder="20">
<settings>
<collapsible>false</collapsible>
<label translate="true">Custom</label>
</settings>
<container name="custom_container" sortOrder="10">
<htmlContent name="html_content">
<block class="MagentoFrameworkViewElementTemplate" template="Vendor_Module::input.phtml" />
</htmlContent>
</container>
</fieldset>
</form>
input.phtml :
<input type="text" name="test_input" value="test_input" />
Input is not sent with the other <field>
attributes of the ui_component form.
magento2 admin forms submit-form
New contributor
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Just edited the post
– Eirettab
May 21 at 15:59
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04
add a comment |
I'm wondering how form inputs are interpreted in magento2 admin grids.
For example, add an input (manually via navigator console) in cart price rule creation form. The input value will not be sent with other parameters.
It's the same when adding an input with "htmlContent" element in ui_component form.
How to make my input sent with htmlContent ?
Edit :
This code in custom admin grid ui_component xml file :
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
---
<fieldset name="custom" sortOrder="20">
<settings>
<collapsible>false</collapsible>
<label translate="true">Custom</label>
</settings>
<container name="custom_container" sortOrder="10">
<htmlContent name="html_content">
<block class="MagentoFrameworkViewElementTemplate" template="Vendor_Module::input.phtml" />
</htmlContent>
</container>
</fieldset>
</form>
input.phtml :
<input type="text" name="test_input" value="test_input" />
Input is not sent with the other <field>
attributes of the ui_component form.
magento2 admin forms submit-form
New contributor
I'm wondering how form inputs are interpreted in magento2 admin grids.
For example, add an input (manually via navigator console) in cart price rule creation form. The input value will not be sent with other parameters.
It's the same when adding an input with "htmlContent" element in ui_component form.
How to make my input sent with htmlContent ?
Edit :
This code in custom admin grid ui_component xml file :
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
---
<fieldset name="custom" sortOrder="20">
<settings>
<collapsible>false</collapsible>
<label translate="true">Custom</label>
</settings>
<container name="custom_container" sortOrder="10">
<htmlContent name="html_content">
<block class="MagentoFrameworkViewElementTemplate" template="Vendor_Module::input.phtml" />
</htmlContent>
</container>
</fieldset>
</form>
input.phtml :
<input type="text" name="test_input" value="test_input" />
Input is not sent with the other <field>
attributes of the ui_component form.
magento2 admin forms submit-form
magento2 admin forms submit-form
New contributor
New contributor
edited May 22 at 8:03
Muhammad Anas
1,1303525
1,1303525
New contributor
asked May 21 at 15:33
EirettabEirettab
11
11
New contributor
New contributor
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Just edited the post
– Eirettab
May 21 at 15:59
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04
add a comment |
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Just edited the post
– Eirettab
May 21 at 15:59
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Just edited the post
– Eirettab
May 21 at 15:59
Just edited the post
– Eirettab
May 21 at 15:59
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04
add a comment |
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
);
);
Eirettab is a new contributor. Be nice, and check out our Code of Conduct.
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%2f275507%2fhow-admin-form-are-submitted-in-magento-2%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
Eirettab is a new contributor. Be nice, and check out our Code of Conduct.
Eirettab is a new contributor. Be nice, and check out our Code of Conduct.
Eirettab is a new contributor. Be nice, and check out our Code of Conduct.
Eirettab is a new contributor. Be nice, and check out our Code of Conduct.
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%2f275507%2fhow-admin-form-are-submitted-in-magento-2%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
Write more that you have tried
– Sohel Rana
May 21 at 15:39
Just edited the post
– Eirettab
May 21 at 15:59
I found response here. magento.stackexchange.com/questions/154201/…
– Eirettab
May 22 at 8:04