Jump to content

[ BUG ] - DNI as Required Field vs tax identification number not working as expected

Recommended Posts

Hello All,


I have setup on my shop DNI (Spanish ID) as a required field;




But for UK per example I don't need it to show (not required). If I turn off the "Do you need a tax identification number?";




And try to Update an existent address, when client clicks on SAVE it gets;




If I create a NEW address with the option above turned off. The field is not shown in the form but I cannot submit it. It get's the following error; (The field dni is required.) But its requirement is disable for the country so it shouldn't give error.




Any help solving this would be really appreciated. Thank you in advance.




NOTE: The correct behaviour would be that when you turn off the option "Do you need a tax identification number?" it would automatically set the DNI field NOT to be required. But it's not the case. The field requirements are set globally for all countries.








Edited by HeyVoOn (see edit history)

Share this post

Link to post
Share on other sites
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More