Jump to content

Validation VAT number


Recommended Posts

Hello,

 

I need to validate VAT number in registration form. I made new function in Class/validate and in class/adress change in $fieldsValidate vat_number => isGenericName to =>myFunction.

 

And nothing happend.

 

What should I do? Anyone any help or advice?

 

Thanks

Link to comment
Share on other sites

in fact each country has a little different method to create vat numbers. it mean that each country must use different validation method.

in addition, if structure of vat is valid, it doesn't mean that this vat number exists! this is why it's necessary to validate it with your tax government services, for example VIES.

Link to comment
Share on other sites

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...