<p>Can anyone tell me if the Tax Code field in Craft Commerce is able to be validated? I'd  be using it for UK VAT Reg numbers. </p>

<p>I just want to check how it can currently be used. Is it just a field to store the tax code information or can it be used to perform validations.</p>

CC BY-SA 3.0
2016-07-04T22:11:20.803Z
What Tax Code field are you referring to?  Something on the front-end?  If so, you can do whatever validation you want.  The backend has concepts of Tax Categories, Tax Rates and Tax Zones.
Brad Bell
CC BY-SA 3.0
2016-07-05T07:57:10.537Z
Thanks Brad, I should have asked if "out of the box does it come with tax validation". Doing some research the answer seems to be no and that I would have to add this in myself.
Dan Lee
<plugin-craftcommerce>
Craft Commerce: Tax Code Field
# Craft Commerce: Tax Code Field

(Asked by: username_0 on 2016-07-04)

Can anyone tell me if the Tax Code field in Craft Commerce is able to be validated? I'd be using it for UK VAT Reg numbers.

I just want to check how it can currently be used. Is it just a field to store the tax code information or can it be used to perform validations.

**Tags:** plugin-craftcommerce

> **Comments:**
> **username_1**: What Tax Code field are you referring to?  Something on the front-end?  If so, you can do whatever validation you want.  The backend has concepts of Tax Categories, Tax Rates and Tax Zones.  
> **username_0**: Thanks Brad, I should have asked if "out of the box does it come with tax validation". Doing some research the answer seems to be no and that I would have to add this in myself.  

---

## 0 answers

