Validation of fields 'company name' and 'tax' in checkout doesn't work correctly
See original GitHub issueCurrent behavior
Filling the form after marking checkbox “I want to generate an invoice for the company” always results in the validation message “Field is required”: -> each time for field “company name” -> and when trying to fill in the “tax” field - if it was left empty before. As a result, you can’t go to “Review Order”.
Expected behavior
Validation of fields “company name” and “tax” is working correctly: -> if correct data were provided there is no validation message shown, -> if field was left empty or wrong data were provided - validation message is shown.
Steps to reproduce the issue
- Go to https://test.storefrontcloud.io
- Add any product to the cart
- Go to checkout
- Provide personal deatils
- Continue to shipping and provide shipping details
- Continue to payment
- Provide address data
- Mark checkbox “I want to generate an invoice for the company”
- Fill in the form by providing correct company name and tax number
- Unmark checkbox and mark it again
- Click on company name field, leave it empty and then click on tax number field and also leave it empty
- Fill in the form by providing correct company name and tax number
Can you handle fixing this bug by yourself?
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
. - This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from
release
branch and create Pull Request3. Stabilisation fix
back torelease
. - This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from
hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.
Environment details
- Browser: Chrome 73
- OS: Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Validation of fields 'company name' and 'tax' in checkout ...
Validation of fields "company name" and "tax" is working correctly: -> if correct data were provided there is no validation message shown,
Read more >The pitfalls of Woocommerce Checkout and how to fix them
Simplifying Checkout Forms to Avoid an Overwhelming appearance. Use a Single 'Full Name' Field Hide 'Company Name' behind a link
Read more >Collect Customer Tax IDs with Checkout | Stripe Documentation
Displaying a customer's tax ID and legal business name on invoices is a common requirement that you can satisfy by enabling tax ID...
Read more >Enabling TAX/VAT number collection in checkout by adding ...
Existing workaround: Apps that enable you to add tax number in the cart. This is not a proper solution, customers go directly into...
Read more >Checkout Errors - BigCommerce Support
If you've found nothing wrong with your tax settings, the issue may be with the products in the order. Products can be assigned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK cool. Please make sure the checkboxes in the
My Account
(all sections) work properly as well. I’m affraid there was a change regarding BaseCheckbox.vue that involves thsese kind of issues@dimasch Please test it out on 1.10 (develop branch) - it supposedly occurs only there