{"id":1885,"date":"2023-08-04T14:03:59","date_gmt":"2023-08-04T14:03:59","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=1885"},"modified":"2023-08-16T10:01:15","modified_gmt":"2023-08-16T10:01:15","slug":"how-to-add-field-validation","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/","title":{"rendered":"How to Add Field Validation?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Adding Field Validation in Custom Fields<\/h2>\n\n\n\n<p>Go to <strong>WooCommerce<\/strong> > <strong>Custom Fields<\/strong> > <strong>Add New Field<\/strong>. Add a customized field title to your new field and proceed to the next option.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choose From 3 Different Types of Field Validation<\/h3>\n\n\n\n<p>When selecting a field type from a dropdown, select <strong>\u201cVAT Field\u201d<\/strong> from the 19 different field types.&nbsp;<\/p>\n\n\n\n<p>Choose from 3 different <strong>VAT Validation Types:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>None&nbsp;<\/li>\n\n\n\n<li>Length<\/li>\n\n\n\n<li>VIES Validation<\/li>\n<\/ol>\n\n\n\n<p>While <em>\u2018None\u2019 <\/em>provides no validation, <em>\u2018Length\u2019<\/em> ensures basic format compliance, and <em>\u2018VIES Validation\u2019 <\/em>offers a more comprehensive and accurate verification.&nbsp;<\/p>\n\n\n\n<p>The validation type you choose depends on the specific needs and requirements of your business as well as the geographical scope of your operations.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Adding Field Validation in Custom Fields Go to WooCommerce > Custom Fields > Add New Field. Add a customized field title to your new field and proceed to the next option.\u00a0 Choose From 3 Different Types of Field Validation When selecting a field type from a dropdown, select \u201cVAT Field\u201d from the 19 different field [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1881,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-1885","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Field Validation? - Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Field Validation? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Adding Field Validation in Custom Fields Go to WooCommerce &gt; Custom Fields &gt; Add New Field. Add a customized field title to your new field and proceed to the next option.\u00a0 Choose From 3 Different Types of Field Validation When selecting a field type from a dropdown, select \u201cVAT Field\u201d from the 19 different field [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-16T10:01:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/\",\"name\":\"How to Add Field Validation? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk\",\"datePublished\":\"2023-08-04T14:03:59+00:00\",\"dateModified\":\"2023-08-16T10:01:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk\",\"contentUrl\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/how-to-add-field-validation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Custom Fields for WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s CFW\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/custom-fields-for-woocommerce\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Add Field Validation?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Field Validation? - Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Field Validation? - Documentation","og_description":"Adding Field Validation in Custom Fields Go to WooCommerce > Custom Fields > Add New Field. Add a customized field title to your new field and proceed to the next option.\u00a0 Choose From 3 Different Types of Field Validation When selecting a field type from a dropdown, select \u201cVAT Field\u201d from the 19 different field [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/","og_site_name":"Documentation","article_modified_time":"2023-08-16T10:01:15+00:00","og_image":[{"url":"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/","name":"How to Add Field Validation? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/#primaryimage"},"thumbnailUrl":"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk","datePublished":"2023-08-04T14:03:59+00:00","dateModified":"2023-08-16T10:01:15+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/#primaryimage","url":"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk","contentUrl":"https:\/\/lh3.googleusercontent.com\/Dq4RSFzyO0sxiVoKXkVh2ATwT218SNicFihkjoDicCskdnlkTkp01GW11EmAbRvT0ed75L7wCf9peV6N0QWEmlNOV_kAqwrlIniyZPS-xWuAAYSEhuoyKo5Xj0EPss9IWPe5iqeMNPMcsvVligj22Qk"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/how-to-add-field-validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/"},{"@type":"ListItem","position":3,"name":"Custom Fields for WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s CFW","item":"https:\/\/addify.store\/documentation\/woocommerce\/custom-fields-for-woocommerce\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Add Field Validation?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/1885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=1885"}],"version-history":[{"count":6,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/1885\/revisions"}],"predecessor-version":[{"id":1939,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/1885\/revisions\/1939"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/1881"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=1885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}