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 Commented 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. Commented Aug 30, 2018 at 10:26
  • @CharulTyagi Excatly same issue facing here Commented 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. Commented Aug 30, 2018 at 10:30
  • yes excatly @CharulTyagi Commented Aug 30, 2018 at 10:31

1 Answer 1


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);


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.