Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [required]

The tag has no usage guidance.

2
votes
0answers
51 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
26 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....
0
votes
0answers
24 views

Magento 2 remove requirement for address,city and country fields in checkout

Need to make address,city and country fields not required on checkout as the shipping methods used in store does not require them. Edited database and removed "is_required" parameter from the ...
1
vote
1answer
35 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
30 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
55 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
365 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
109 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
333 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 ...
0
votes
2answers
522 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
26 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
720 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
180 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 ...