Magento 2: Getting “regionId is a required field.” when I click button “Place Order” Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraMagento 2: “regionId is a required field.”Place Order button doesn't go to success/confirmation page? (1.9.1.0)where is review.save()[ place order ] related code is presentUnable to place order on checkout pageMagento 2 - Where is jquery code of click on place order button in checkout page?Place order button in Magento 2 checkoutMagento-2 : How to display custom field just after payment method list and save on place orderMagento 2: “regionId is a required field.”In Magento 2.2, How to Place the order after GrandTotal is Rs. 0?How to add input field in check money order payment method in magento 2?Magento 2.2.3 - Add custom required validation for company

Raising a bilingual kid. When should we introduce the majority language?

What is the best way to deal with NPC-NPC combat?

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

Does Mathematica have an implementation of the Poisson binomial distribution?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Reattaching fallen shelf to wall?

Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?

What's the difference between using dependency injection with a container and using a service locator?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

What's parked in Mil Moscow helicopter plant?

Is accepting an invalid credit card number a security issue?

Israeli soda type drink

A faster way to compute the largest prime factor

Map material from china not allowed to leave the country

Will I lose my paid in full property

Where did Arya get these scars?

Check if a string is entirely made of the same substring

What is a 'Key' in computer science?

Protagonist's race is hidden - should I reveal it?

Can I criticise the more senior developers around me for not writing clean code?

How to avoid introduction cliches

Multiple options vs single option UI

The art of proof summarizing. Are there known rules, or is it a purely common sense matter?

Are these square matrices always diagonalisable?



Magento 2: Getting “regionId is a required field.” when I click button “Place Order”



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraMagento 2: “regionId is a required field.”Place Order button doesn't go to success/confirmation page? (1.9.1.0)where is review.save()[ place order ] related code is presentUnable to place order on checkout pageMagento 2 - Where is jquery code of click on place order button in checkout page?Place order button in Magento 2 checkoutMagento-2 : How to display custom field just after payment method list and save on place orderMagento 2: “regionId is a required field.”In Magento 2.2, How to Place the order after GrandTotal is Rs. 0?How to add input field in check money order payment method in magento 2?Magento 2.2.3 - Add custom required validation for company



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am Getting




regionId is a required field.




when I click button "Place Order" on the checkout page



I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










share|improve this question




























    2















    I am Getting




    regionId is a required field.




    when I click button "Place Order" on the checkout page



    I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










    share|improve this question
























      2












      2








      2








      I am Getting




      regionId is a required field.




      when I click button "Place Order" on the checkout page



      I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










      share|improve this question














      I am Getting




      regionId is a required field.




      when I click button "Place Order" on the checkout page



      I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.







      checkout magento2.2 state






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 36 mins ago









      Bhakti ThakkarBhakti Thakkar

      648114




      648114




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try this,




          Add di.xml in your module




          <?xml version="1.0" ?> 
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
          </config>



          Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




          Copy the file from




          Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




          To




          app/code/vendor/module/Block/Checkout/LayoutProcessor.php




          and change the below params to make the company as required field



          'postcode' => [
          'component' => 'Magento_Ui/js/form/element/post-code',
          'validation' => [
          'required-entry' => false, // make it false or remove this line
          ],
          ],


          Guess this will remove the validation.



          NOTE : Not tested try it and let me know.





          share























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272356%2fmagento-2-getting-regionid-is-a-required-field-when-i-click-button-place-or%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try this,




            Add di.xml in your module




            <?xml version="1.0" ?> 
            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
            <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
            </config>



            Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




            Copy the file from




            Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




            To




            app/code/vendor/module/Block/Checkout/LayoutProcessor.php




            and change the below params to make the company as required field



            'postcode' => [
            'component' => 'Magento_Ui/js/form/element/post-code',
            'validation' => [
            'required-entry' => false, // make it false or remove this line
            ],
            ],


            Guess this will remove the validation.



            NOTE : Not tested try it and let me know.





            share



























              0














              Try this,




              Add di.xml in your module




              <?xml version="1.0" ?> 
              <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
              <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
              </config>



              Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




              Copy the file from




              Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




              To




              app/code/vendor/module/Block/Checkout/LayoutProcessor.php




              and change the below params to make the company as required field



              'postcode' => [
              'component' => 'Magento_Ui/js/form/element/post-code',
              'validation' => [
              'required-entry' => false, // make it false or remove this line
              ],
              ],


              Guess this will remove the validation.



              NOTE : Not tested try it and let me know.





              share

























                0












                0








                0







                Try this,




                Add di.xml in your module




                <?xml version="1.0" ?> 
                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
                </config>



                Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




                Copy the file from




                Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




                To




                app/code/vendor/module/Block/Checkout/LayoutProcessor.php




                and change the below params to make the company as required field



                'postcode' => [
                'component' => 'Magento_Ui/js/form/element/post-code',
                'validation' => [
                'required-entry' => false, // make it false or remove this line
                ],
                ],


                Guess this will remove the validation.



                NOTE : Not tested try it and let me know.





                share













                Try this,




                Add di.xml in your module




                <?xml version="1.0" ?> 
                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
                </config>



                Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




                Copy the file from




                Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




                To




                app/code/vendor/module/Block/Checkout/LayoutProcessor.php




                and change the below params to make the company as required field



                'postcode' => [
                'component' => 'Magento_Ui/js/form/element/post-code',
                'validation' => [
                'required-entry' => false, // make it false or remove this line
                ],
                ],


                Guess this will remove the validation.



                NOTE : Not tested try it and let me know.






                share











                share


                share










                answered 4 mins ago









                Prathap GunasekaranPrathap Gunasekaran

                1,9721618




                1,9721618



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272356%2fmagento-2-getting-regionid-is-a-required-field-when-i-click-button-place-or%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    منجزی محتویات تیره‌های طایفه منجزی[ویرایش] مشاهیر طایفه منجزی[ویرایش] محل سکونت[ویرایش] پانویس[ویرایش] منابع[ویرایش] منوی ناوبری«نمودار اجتماعی طوایف بختیاری»«BakhtyārBAḴTĪĀRĪ TRIBE»«اسامی طوایف و شعب ایل بختیاری»ووگسترش آن

                    بیوانفورماتیک محتویات تاریخچه[ویرایش] اهداف[ویرایش] کاربردهای بیوانفورماتیک[ویرایش] زمینه‌های مهم بیوانفورماتیک[ویرایش] موضوعات سیستم نرم‌افزاری بیوانفورماتیک[ویرایش] مراکز و ابزار[ویرایش] جستارهای وابسته[ویرایش] پیوند به بیرون[ویرایش] منابع[ویرایش] منوی ناوبریووانجمن بیوانفورماتیک ایرانمرکز بیوانفورماتیک دانشگاه تهرانمرکز ملی تحقیقات بیوانفورماتیکانستیتو بیو-آی‌تیبانک داده‌های دی ان ایمرکز ملی اطلاعات بیوتکنولوژیانستیتوی بیوانفورماتیک اروپاپورتال بیوانفورماتیک ایران«فرهنگ واژه‌های مصوب فرهنگستان ـ دفتر هشتم، بخش لاتین»وووو4611085-900870420ووو