How can i add notice under state input filed on one page checkou in magento2?

  • Please check this link may be helpful for you click here Aug 30, 2018 at 10:22
  • And for state/province field i display it below the field but more than one state fields were showing because when you will go into checkout_index_index.xml there region and region_id given i make visible false to true the "region" but two fields showing notice was coming in one of the field with not required then for doing this whole need to work on JS or css to make it customization that it should show only one field not two. Aug 30, 2018 at 10:26
  • @CharulTyagi Excatly same issue facing here Aug 30, 2018 at 10:28
  • I debug alot i did it and display but issue is only two fields showing at a time and when we choose United States (country) then it show state as drop down and along with input-field in which we added notice below there. Aug 30, 2018 at 10:30
  • yes excatly @CharulTyagi Aug 30, 2018 at 10:31

2 Answers 2


I have tried like below:

In app\design\frontend\wenro\wenro15\Magento_Checkout\web\js\model\address-converter.js

in address-converter.js file in formAddressDataToQuoteAddress function

           var i=0;
           if(!$('div[name="shippingAddress.region"]').children().hasClass('field-note') && i==0)
                setTimeout(function(){ $('div[name="shippingAddress.region"]').append("<div class='field-note'><span>Enter state in full eg. South Australia not SA</span></div>"); }, 1600);


for add notice in checkout you need to follow the Magecomp Blog. here is the link.


  • This solution i have already tried!! and it's works for all other fields excepting state filed. Dec 14, 2018 at 4:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.