Questions tagged [required]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

how to set payment method selection required alert on checkout page in magento 2

Is there any solution for this? Without selecting any payment method there is nothing showing alert or required warning, how can I set there?
1
vote
0answers
16 views

How to make product image required and minimum 1 or maximum 6 images

I am using Magento 2.3 and creating a product doesn't need any image. How do I make it required?
1
vote
2answers
25 views

Magneto2.3-How to make product category mandatory in Magento 2

I am using Magneto 2.3. I want the product category field mandatory. See below my code: [![enter image description here][1]][1] <div class="field"> <label class=&...
0
votes
1answer
14 views

Region field is not working on country change

I am facing an issue in magento 2.3.4.Whenever I tried to change country, region field hidden and gives required error. Therefore, Place order is not happening. If i have not changed country and just ...
0
votes
0answers
13 views

Magento2.3: How to hide the validation message after user fill in the data?

I want to hide the validation message "This is a required field" when the user fill in the input field. In my case, the validation message is still appearing even after the user filled the input. So,...
2
votes
1answer
29 views

Magento 2 : Required Field (UiComponent) (only/any one from two)

I want to set anyone field is required from two fields [UiComponent] for example, either text field or Image anyone needs to a required field otherwise can not save.
2
votes
2answers
62 views

How can i configure customer Middle Name/Initial as a required field in Magento 1.9?

If it is possible Customer Middle Name/Initial is required, Now I use this code to required this field but can not work <?php if ($this->showMiddlename()): ?> <?php $isMiddlenameRequired ...
0
votes
1answer
95 views

Magento 2 Make Not Required field on registration Page

I have enabled address field on Customer registration page and everything is working fine and fields street address,city,state,country and zip all are now appearing on page. When I create an account ...
0
votes
0answers
36 views

Magento 2.2.5: How to make the catalog product image as required?

I want to make catalog product image as required in magento2.2.5 Any help would be appreciated
3
votes
0answers
123 views

How to translate “ This is a required ” in Magento 2

I want translate error message required field like this I used de_DE.csv but the get fields from data it does not translate, please help me! Thanks all
0
votes
2answers
250 views

menu.js:1 Uncaught TypeError: require is not a function

I am trying to add a jquery script to my site. I have updated the require-config so it has this- var config = { paths: { slick: 'js/slick.min', slaask: 'js/customscript', menu: 'js/menu....
1
vote
1answer
38 views

How to make a field required on product edit page only if another filed is checked

I have creaed two product attributes "show member price" and "member price". By default the field Member price is non mandatory. But when the admin checks the "show member price(checkbox)" filed than ...
0
votes
1answer
151 views

Change the name Attribute of product to not required magento 2

I want to generate the name of product based by sku. For example : when i enter 10014000 for the sku, the name of product will be Bovin phenelop 16/18 blanc 100. This information is coming from ...
0
votes
2answers
192 views

Magento 2.3 How to include a php file in a custom module

I am using a custom module which is including a php file from lib . But it is giving error in di:compile command as - Fatal error: Cannot declare class PDFMerger, because the name is already in ...
1
vote
1answer
1k views

Magento 2 | How to include third party library by adding at 'lib/'?

This is not about adding by composer. This is about downloading and then using it. For Example: I download TCPDF Library and follows these steps it should be installed and usable but it doesn't works ...
0
votes
1answer
274 views

Magento 1.9 contact form validate required not working

For some reason our select dropdown is not required and does not validate the entry. It already contains the class 'required-entry' for the select. What am I missing here? <form action="<?php ...
0
votes
1answer
660 views

Magento2: Add Checkout Terms and Conditions to Customer Registration Page

I am trying to include terms and conditions that are shown on the checkout on the customer registration form. I have tried various ways and managed to get it to display correctly but no matter what I ...
1
vote
2answers
948 views

How to set required field ''State/Province' of add new address in My Address Book, magento 2?

Using magento 2.2, I want to set required on field State/Province in Add New Address in 'my address book'.
0
votes
1answer
28 views

Required field error in Billing Information

We always seem to be having issues with the checkout. Customer cannot get past the billing information section, they click continue and it keeps saying required field, and it won't let them go any ...
1
vote
0answers
24 views

Problems on checkout with a particular product

I have one product that is a cause for concern when checking out. Whenever this product is in the cart the checkout throws many popup alerts. I'll link images to help with visuals as I go through ...
2
votes
1answer
1k views

Make required field to Gift Option in Magento 2

I enable gift option from magento 2 admin. Now i want to make required. field on cart page. I found that template is coming from vendor/magento/module-gift-message/view/frontend/web/template/gift-...
2
votes
0answers
230 views

Magento 2 UI Component field customize based on condition

I need to validate required-entry true/false based on condition in UI component form field. Ex. if there is new entry, field will be required and it form is with existing entry, field will be not ...