[Skip to main content](#vessel-content)

#   field control taxcode or VAT in registration

##

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

9 years 9 months ago [\#259976](#259976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#259976 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi,

If you're talking about a 11 characters number, that's the VAT number.
Here is a list of all the VAT number formats for the whole Europe: [ www.vatlive.com/eu-vat-rules/eu-vat-numb...-vat-number-formats/](http://www.vatlive.com/eu-vat-rules/eu-vat-number-registration/eu-vat-number-formats/)
If you're talking about another information, you can create a new custom field via the menu Display&gt;Custom fields for it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")**
- [![ricardo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29723-ricardo "View ricardo's Profile")
- [ Offline](/forum/user/29723-ricardo)

Less More

- Posts: 33
- Thank you received: 0
-
-

9 years 9 months ago [\#259989](#259989) by [ricardo](/forum/user/29723-ricardo "View ricardo's Profile")  Replied by *[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#259989 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hello Nicolas, you certainly understand but my problem is this, I have to make the playing field VAT mandatory for companies and tax code for individuals. I tried to create a new one but I lose the obligatory nature of the field because if a customer is company must fill in the VAT number and if it is an individual must fill in the tax code. I hope I explained ...

Let me know,

Thanks so much!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

9 years 9 months ago [\#260012](#260012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260012 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi,

Just have a field for the customer to select if he is a company or an individual and then in your VAT field and tax code field, you can use the "display limited to" setting so that each will only appear for one value of the company/individual custom field.
That way, it will allow you to do that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")**
- [![ricardo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29723-ricardo "View ricardo's Profile")
- [ Offline](/forum/user/29723-ricardo)

Less More

- Posts: 33
- Thank you received: 0
-
-

9 years 9 months ago [\#260078](#260078) by [ricardo](/forum/user/29723-ricardo "View ricardo's Profile")  Replied by *[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260078 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi Nicolas, thankyou very much for your answer!

There's a tutorial to make it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 9 months ago -  9 years 9 months ago [\#260079](#260079) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260079 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hello,

You can find some element in our documentation, more precisely [ **here**](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html#details).
This tutorial will list all custom fields parameters, here you have to follow Nicolas advice to create **2 fields**, where **VAT field** is "**display limited**" to the **user field**.

Hope this will help you.

Regards

Last edit: 9 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")**
- [![ricardo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29723-ricardo "View ricardo's Profile")
- [ Offline](/forum/user/29723-ricardo)

Less More

- Posts: 33
- Thank you received: 0
-
-

9 years 9 months ago [\#260159](#260159) by [ricardo](/forum/user/29723-ricardo "View ricardo's Profile")  Replied by *[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260159 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Is that page I had already seen. I still have a doubt though, because if I select the VAT tax code field is not hidden while the opposite happens, why?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#260166](#260166) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260166 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi,

I'm afraid that it is not possible to understand your message.
Can you please clarify ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")**
- [![ricardo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29723-ricardo "View ricardo's Profile")
- [ Offline](/forum/user/29723-ricardo)

Less More

- Posts: 33
- Thank you received: 0
-
-

9 years 9 months ago [\#260396](#260396) by [ricardo](/forum/user/29723-ricardo "View ricardo's Profile")  Replied by *[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260396 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

In practice, if I select the tax code field on the game field VAT is automatically hidden.

If I select the playing field tax but the tax code field remains and is not hidden ...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

9 years 9 months ago [\#260408](#260408) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260408 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi,

It's still unclear.
Please provide screenshots of the settings of the three custom fields I told you to create (the one to select individual or company, the one for the VAT number and the one for the tax code) and provide a link to the shop so that we can look at the result.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")**
- [![ricardo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29723-ricardo "View ricardo's Profile")
- [ Offline](/forum/user/29723-ricardo)

Less More

- Posts: 33
- Thank you received: 0
-
-

9 years 9 months ago [\#260438](#260438) by [ricardo](/forum/user/29723-ricardo "View ricardo's Profile")  Replied by *[ricardo](/forum/user/29723-ricardo "View ricardo's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260438 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hello Nicolas, I send you screenshots of the two custom fields.

But the third custom field, the one where you can choose between the individual and the company did not create, probably I did not realize you had to do it ... can you please explain to me how to set it?

The site is [ www.concret.it](http://www.concret.it)

Thanks so much!  [ ![screenshot-www.concret.it-2017-01-26-10-09-50.png](/forum/attachment/35798) ](/forum/attachment/35798 "...6-10-09-50.png")

[ ![screenshot-www.concret.it-2017-01-26-10-10-41.png](/forum/attachment/35799) ](/forum/attachment/35799 "...6-10-10-41.png")

- [ ![screenshot-www.concret.it-2017-01-26-10-09-50.png](/forum/attachment/35798) ](/forum/attachment/35798 "...6-10-09-50.png") [ ](/forum/attachment/35798?download=1 "...6-10-09-50.png")
- [ ![screenshot-www.concret.it-2017-01-26-10-10-41.png](/forum/attachment/35799) ](/forum/attachment/35799 "...6-10-10-41.png") [ ](/forum/attachment/35799?download=1 "...6-10-10-41.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

9 years 9 months ago [\#260455](#260455) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[field control taxcode or VAT in registration](/forum/4-how-to/867605-field-control-taxcode-or-vat-in-registration?start=20#260455 "hello, I would like to know how I can check the syntactic correctness of the data that the user enters in the tax code or VAT. is possible to insert some control over the number of characters? thank you!")*

Hi,

You need to create a custom field of the type "radio" for example, and enter two values for it.
And in the two other custom fields, you need to select the corresponding value of THAT third custom field in the "display limited to" setting.
So it's normal it doesn't work if you don't have that third custom field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2NzYwNS1maWVsZC1jb250cm9sLXRheGNvZGUtb3ItdmF0LWluLXJlZ2lzdHJhdGlvbj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.152 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
