Magento2 custom module admin form
up vote
0
down vote
favorite
I have a custom module in admin in Magento2.3
app/code/Magento/MyModule.
I followed
https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage.html and was able to get the menu item and the phtml page.
I want a form on the phtml page that has one text field and the submit button. When I click the submit button, the value in the text field should be saved to the custom table that I have created using
https://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/
My directory structure is only what is there in the two given links. I am absolutely new to Magento and would really appreciate any help.
TIA
magento2
add a comment |
up vote
0
down vote
favorite
I have a custom module in admin in Magento2.3
app/code/Magento/MyModule.
I followed
https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage.html and was able to get the menu item and the phtml page.
I want a form on the phtml page that has one text field and the submit button. When I click the submit button, the value in the text field should be saved to the custom table that I have created using
https://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/
My directory structure is only what is there in the two given links. I am absolutely new to Magento and would really appreciate any help.
TIA
magento2
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a custom module in admin in Magento2.3
app/code/Magento/MyModule.
I followed
https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage.html and was able to get the menu item and the phtml page.
I want a form on the phtml page that has one text field and the submit button. When I click the submit button, the value in the text field should be saved to the custom table that I have created using
https://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/
My directory structure is only what is there in the two given links. I am absolutely new to Magento and would really appreciate any help.
TIA
magento2
I have a custom module in admin in Magento2.3
app/code/Magento/MyModule.
I followed
https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage.html and was able to get the menu item and the phtml page.
I want a form on the phtml page that has one text field and the submit button. When I click the submit button, the value in the text field should be saved to the custom table that I have created using
https://devdocs.magento.com/videos/fundamentals/add-a-new-table-to-database/
My directory structure is only what is there in the two given links. I am absolutely new to Magento and would really appreciate any help.
TIA
magento2
magento2
asked Nov 9 at 12:47
coderGeek
468
468
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53225994%2fmagento2-custom-module-admin-form%23new-answer', 'question_page');
);
Post as a guest
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
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
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