Questions tagged [adminform]

A form visible in admin area of magento.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

How to create custom admin page with a form in magento2 admin side?

I want to create an admin side custom page with a form, also want to save those fields into a custom table
Ragesh VP's user avatar
1 vote
2 answers
2k views

Magento 2 Can't submit custom form with custom controller-action in admin order detail page

I am creating custom form in admin order detail page with form action as like below but it's redirecting to Dashboard from my action with 302. My script is: sales_order_view.xml <?xml version="1....
Ramesh's user avatar
  • 986
1 vote
0 answers
282 views

Magento2 How to get the category collection as tree structure under multiselect field programmatically.?

I want show category collection as tree structure for custom multiselect field at admin end as reference like below
Kavya cheerala's user avatar
7 votes
6 answers
4k views

Magento 2.2.6 How to add TAB structure in admin UI component form

I am trying to create a TAB in admin UI component form in my custom module, TAB is showing but page is loading continuously, please see attached screen-shoot. Here is my code. Namespace/...
Chirag Patel's user avatar
  • 6,106
0 votes
0 answers
142 views

Magento 2 Can't add new tab in product page in admin

I am trying to add a new tab in the product page in admin but it's no appears in the product page. The code is: Vendor\Demo\view\adminhtml\layout\catalog_product_edit.xml <?xml version="1.0"?&...
Ramesh's user avatar
  • 986
3 votes
1 answer
4k views

Magento 2 How to set value to UI component hidden field using Jquery or Javascript

I want to fill value in to ui component hidden field using Jquery or Javascript. Below is my code. Namespace/Modulename/view/adminhtml/ui_component/sampleimageuploader_image_form.xml <field ...
Chirag Patel's user avatar
  • 6,106
2 votes
1 answer
6k views

How to make custom html form in Admin in Magento 2?

I want create custom html form in Magento 2 - Admin Panel Where from block i can save all form data in new database table. Drop-down 1, Drop-down 2, Price text-box 1, Price text-box 2, Price ...
Aditya Shah's user avatar
  • 7,587
2 votes
1 answer
1k views

Magento 2: form & grid components on one page

I want to create smth like this in adminhtml: This page contains form to type customer ID & grid to display downline data for the customer. This is my description of the form component: ./...
Alex Gusev's user avatar
  • 1,999
5 votes
1 answer
907 views

How to add form element CANVAS using ui component magento admin form

I want to add Canvas field element using UI component admin form. My requirement is i have a ui component form i want to add Canvas field. check below screen shoot. As per above screen-shoot i ...
Chirag Patel's user avatar
  • 6,106
1 vote
0 answers
85 views

Use a Data Grid Table to assign values to an EAV attribute in admin

I have a custom attribute for Catalog Categories that represents the IDs of products associated with the category in question (this is a separate requirement from the usual association of products and ...
McMunchkin's user avatar
1 vote
2 answers
637 views

In Magento 2, How to use multiple dependencies for admin form

In Magento 2.2.5, I want to use the select and text fields. That fields should show based on the another select (dropdown) values. ie., if value 1 means, should show select field, if the value 2 ...
Saravanan DS's user avatar
  • 1,116
1 vote
0 answers
118 views

I have created one field using product form field for my price i want save my field value at product creation time from backend magento2

I have created Custom form field for product creation and edit time, i want save my price.i have created one new tab for product form .i want save my custom price same as price option. my input field ...
Web developer's user avatar
3 votes
1 answer
210 views

Magento 2.2.5 custom js not working when I call it from phtml file using uiComponent

I have created admin form using uiComponent. I have called phtml file using <htmlContent name="html_content"> in xml file. I tired to call custom.js using below code but its not working. <...
poojan sharma's user avatar
7 votes
2 answers
3k views

Dynamically add form fields using Ui component on click of Add More button in custom admin module

I have created a module which allows to add items dynamically from admin panel configuration. I have created form using ui component and want to add 3 fields dynamically on click of "Add More" button. ...
poojan sharma's user avatar
1 vote
2 answers
671 views

Magento 2 : Edit id name alias

How can I change the admin edit id name like if I want to change xx_id to id in a Ui component form in address bar? http://localhost/Magento225/admin/vendor/module/edit/xx_id/1/ To: http://...
Verdu's user avatar
  • 1,720
3 votes
2 answers
3k views

Magento2 admin grid ui component form hide multiple fields based on php condition

I have so many fields in my admin grid form which made using UI component. I want to hide some of the fields using php condition. I know that it can done using DataProvider file and I also followed ...
Pratik Navapara's user avatar
3 votes
1 answer
1k views

Hide/show admin form field on toggle value using UiComponent in Magento 2

I want Hide/show admin form field on toggle value using UiComponent. when enable the toggle fields should be visible and on disable the toggle fields should not be visible. Example: [When enable the ...
Ashna's user avatar
  • 518
5 votes
4 answers
3k views

How to set default text field value in form Magento 2

I want to set field value of form field in Magento 2. Actual Result Expected Result I have added required code here which are available in my Form.php <?php namespace Magenest\Membership\Block\...
Jaimin's user avatar
  • 2,136
0 votes
1 answer
440 views

Magento 2 User Admin image upload $_FILES empty

I'am trying to add a field to upload image for specific user. I add field but problem is when I try save User. Image isn't uploaded and I got exception that $_FILES is empty. I followed these ...
Franci Melink's user avatar
1 vote
0 answers
63 views

Change tab content with dropdown value?

I'm building a module, where the user can fill his homepage with blocks from the backend. All blocks are taken in an admin grid ui compontent, and there's 3 different kinds of blocks to choose from: ...
Digitaq's user avatar
  • 151
0 votes
1 answer
2k views

Insert Product Grid in custom module form uicomponent

I am developing a custom module for Magento 2.2.x which should allow users to associate products to custom entity. What I would like to do is to show a product grid in the edit form of the custom ...
giani.sim's user avatar
  • 1,463
2 votes
0 answers
512 views

How to create search select box using block class

I want to create a select box like the below I know this can be done using Ui components, but i want it to be done using form.php class (block class) Currently i am just using the simple select box ...
Avesh Naik's user avatar
  • 1,171
3 votes
2 answers
2k views

Magento2 not getting post data from ui component phtml file

I have implemented admin form using UI component. In that, I have 3 separate tabs. Among 3, I have displayed one tab using custom phtml file by using following code in ui component form xml file <...
Pratik Navapara's user avatar
2 votes
2 answers
138 views

Edit action is not working properly for a custom module at admin on mageno 1.9

I am trying to implement a module in Magento 1.9. I am new to it. Edit action on the admin side is not working. Whenever I edit a field, the original remains the same and another entry gets created ...
Bhakti Thakkar's user avatar
7 votes
2 answers
1k views

Multiple Image browse in custom admin form Magento 2

I have created a custom form in the backend and it is working fine for single image browse. If I select only one image then it is working fine. My requirement is, I want to select multiple images with ...
Sunny Rahevar's user avatar
0 votes
1 answer
837 views

Field labels missing from UI component form

I'm struggling to figure out what's wrong with this form I've created. The form is displayed and data from the data source appears as it should but there are no labels next to the fields. I've been ...
mludd's user avatar
  • 203
0 votes
2 answers
3k views

Magento 2 – How to off the autocomplete on forms on the admin

How to off the autocomplete on forms on the admin
Prashant Patel's user avatar
3 votes
2 answers
2k views

How to use Product Chooser Widget with UI Component Form

I want to have a field in my UI Component form and a "Select Product..." Button where I can choose a product and it gets inserted into the input. Similar to the "Catalog Product Link" Widget. Started ...
Alexander Hälbich's user avatar
1 vote
0 answers
171 views

How to create custom button in the admin panel form?

I want to create custom button besides Update Quantity with an custom action where when you click on it, it makes the Quantity to refund column as zero on credit memo page. How can we create that? ...
Darshan Jethwa's user avatar
1 vote
0 answers
92 views

Create a custom product form based on user role in magento 2

I want to hide some field of the product creation form. I know that i can do this with some xml file, but i want to hide them only for specific user role. I found that the event ...
Michele's user avatar
  • 11
0 votes
0 answers
259 views

Toggle input field of an admin form required and not required by javascript Magento2

I am trying to make a field mandatory/not mandatory through javascript in Magento2, but it's not working. Can someone please suggest? define([ 'underscore', 'uiRegistry', 'Magento_Ui/js/form/element/...
Abhilash Acharya's user avatar
3 votes
2 answers
2k views

Is it possible to add condition in admingrid form using ui-component?-solved [duplicate]

I am using same form for add and edit functionality. i want to 1 field in add action and 2 field in edit action like: in new action i just want to enter fistname but in edit action i want to edit ...
Rutvee Sojitra's user avatar
0 votes
0 answers
82 views

Creating new form in Magento 2 always getting error

I have created a custom module, it has a grid and also should have an add new button, the grid is working but the add new button is giving me errors. Below is given NewAction.php inside ...
lucasvm1980's user avatar
1 vote
1 answer
2k views

Multi Select UI Field in user form magento2

I am showing multiselect dropdown in user form in admin panel(System->All user->Add User) I have created a plugin for creating field in that form. Here is the code, I am using: public function ...
user00247's user avatar
  • 638
1 vote
1 answer
394 views

Magetno 2 : Get Customer FirstName and LastName with Custom Resource Model

I've custom model same as Core Code. (Vendor) ../Model/Grid.php class Grid extends \Magento\Framework\Model\AbstractModel implements GridInterface { const CACHE_TAG = 'customer_entity'; ...
TBS Mage's user avatar
  • 432
0 votes
1 answer
572 views

How to add array of input fields in magento 2 admin form

In Magento2 custom module, I need to add an two input fields say text1 & text2 which will be dynamic and will have "Add More option". so clicking on Add More will add two new fields in the form, ...
Vikas 's user avatar
  • 21
4 votes
5 answers
5k views

"Visible Section not found" at backend login in Magento 2

When I switch the store to a specific domain https:// example.com (secure & unsecure), I get the error "Visible Section not found" when trying to log into the backend. The funny thing: as soon ...
Bernhard Prange's user avatar
1 vote
0 answers
69 views

How to use renderer grid in magento2?

I've developed a custom module for magento1.9 , I'm doing the same for magento2 I'm able to have just a grid in admin page, also I have a form in admin page but I'm a bit stopped as I can't understand ...
java2dev's user avatar
2 votes
1 answer
3k views

How do I change date picker format for admin date field

How can I change the date format to display as dd/mm/yyyy for admin date field? Currently it is displaying as mm/dd/yyyy format. Can you please help me out?
Hasitha Anuruddha's user avatar
1 vote
2 answers
49 views

Magento 2: How to add a new customer attribute via Setup?

I created this script to add a new customer attribute, but it's not saving on admin panel, why? <?php namespace Test\PhoneLogin\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\...
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
27 views

How the "Customizable Options" works while adding the product in magento 2

I need to know the where the below section is loads in magento 2, Especially in dropdown. While clicking "Drop down " in Option Type, It loads the below section,Actually what are the responsible files ...
Jaisa's user avatar
  • 2,556
3 votes
1 answer
679 views

Magento 2 UI Form without collection

can i build a Magento 2 Ui Form without use Collection at DataProvider Class? If i don't use a valid collection not seems to work... I just want to use the form to post data to external source. I don'...
JohnTrak's user avatar
1 vote
1 answer
87 views

Magento 2 UI more than one select fields

I build an Admin Magento 2 form with UI form component. I have added 3 fields of type "Select". When I change one of the three they change and the rest with the same value. Any ideas why is this ...
JohnTrak's user avatar
2 votes
2 answers
1k views

How can I remove entries from here?

Lets navigate to: Adminview -> Product -> Cataloque -> Edit Any Product and we will get this view: How can I remove "Produktbewertungen"? It says the file is: templates/form/collapsible....
silberfuchz's user avatar
1 vote
1 answer
1k views

How Do I create Backend form in magento 2 without using ui-component

I have created grid using ui-component, Now I want to create form without using ui-component. So please provide me a solution
Jaisa's user avatar
  • 2,556
0 votes
1 answer
102 views

Magento 1.9 : Admin Edit Form with Left and Right Column?

=> My Edit Form currently showing like below. But I want to show it Left and Right side,I don't want in bottom. => For example like below : What I need to do for that.?
Nagaraj Juro's user avatar
1 vote
1 answer
251 views

Admin datetime picker returning empty array on post

I have a custom admin edit form with the following fields: $dateTimeFormatIso = Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); $fieldsetRefInfo->...
Laura's user avatar
  • 2,700
4 votes
3 answers
2k views

Magento 2. Catalog product edit save button not working

admin/catalog/product/save button is not working anymore. I'm unable to edit/save product. No output whatsoever in var/log/* No output whatsoever in browser console No activity in browser network ...
vitoriodachef's user avatar
0 votes
1 answer
424 views

Save value of multiselect admin magento 1.9

I create a custom block, for create slider in front-end. This work perfectly in admin and save in database. Now I just add, a groupe_id instance of groupe_customer. so lock my form : $fieldset-...
devmagento's user avatar
8 votes
1 answer
4k views

Magento 2 ui component form without database table

I want to add a UI component form in the admin panel. It is just sending email, no need of database storage. I want to redirect to my form when I click my menu "Send Coupon". I have tried the below ...
Jancy Abraham's user avatar

1
3 4
5
6 7
12