Using magento 2.2, I want to set required on field State/Province in Add New Address in 'my address book'.
-
You need to add States?provinces in the Database, the required option works for States/Provinces available in Backend as Dropdown. Open Text field doesn't appear as required– SaadCommented Jan 30, 2019 at 9:07
-
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review– Rama Chandran MCommented Jan 30, 2019 at 9:39
Add a comment
|
2 Answers
You can select State
Required for particular Country from backend using the below path:
Stores-> Configuration -> General -> State Options
here select country in State is Required for
dropdown.
Go to Admin > Stores > Settings > Configuration > General > General > State Options > State is Required for
, here select the countries for those state needs to be required.