{"id":65,"date":"2018-02-05T21:18:55","date_gmt":"2018-02-05T21:18:55","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/?p=65"},"modified":"2024-05-03T14:57:31","modified_gmt":"2024-05-03T14:57:31","slug":"js-validation","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/","title":{"rendered":"JS Validation"},"content":{"rendered":"\n<p>The plugin allows you to&nbsp;<b>enable validation in JS<\/b>&nbsp;for the fields provided in the checkout form.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1808\" height=\"564\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\" alt=\"JS validation\" class=\"wp-image-254\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg 1808w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-300x94.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-1024x319.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-768x240.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-1536x479.jpg 1536w\" sizes=\"auto, (max-width: 1808px) 100vw, 1808px\" \/><\/a><\/figure><\/div>\n\n\n<p>If you enable the &#8220;JS Validation&#8221; options available in <strong>Settings > General options<\/strong>, customers who leave a required field blank will receive a dynamic notification informing them to insert the mandatory data.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2272\" height=\"1264\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend.jpg\" alt=\"JS validation on Checkout page\" class=\"wp-image-256\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend.jpg 2272w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend-300x167.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend-1024x570.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend-768x427.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend-1536x855.jpg 1536w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation-frontend-2048x1139.jpg 2048w\" sizes=\"auto, (max-width: 2272px) 100vw, 2272px\" \/><\/a><\/figure><\/div>\n\n\n<p>By setting the VAT number as a required field, the validation will automatically identify the required VAT number based on the country picked by the customer.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1700\" height=\"749\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106.png\" alt=\"VAT number validation\" class=\"wp-image-259\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106.png 1700w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106-300x132.png 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106-1024x451.png 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106-768x338.png 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/VAT-number-validation-e1682695050106-1536x677.png 1536w\" sizes=\"auto, (max-width: 1700px) 100vw, 1700px\" \/><\/a><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>The plugin allows you to&nbsp;enable validation in JS&nbsp;for the fields provided in the checkout form. If you enable the &#8220;JS Validation&#8221; options available in Settings > General options, customers who leave a required field blank will receive a dynamic notification informing them to insert the mandatory data. By setting the VAT number as a required &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">JS Validation<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-general-options","category-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Checkout Manager: JS Validation<\/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:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Checkout Manager: JS Validation\" \/>\n<meta property=\"og:description\" content=\"The plugin allows you to&nbsp;enable validation in JS&nbsp;for the fields provided in the checkout form. If you enable the &#8220;JS Validation&#8221; options available in Settings &gt; General options, customers who leave a required field blank will receive a dynamic notification informing them to insert the mandatory data. By setting the VAT number as a required &hellip; Continue reading JS Validation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Checkout Manager\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-05T21:18:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T14:57:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\",\"name\":\"YITH Checkout Manager: JS Validation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\",\"datePublished\":\"2018-02-05T21:18:55+00:00\",\"dateModified\":\"2024-05-03T14:57:31+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg\",\"width\":1808,\"height\":564,\"caption\":\"JS validation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JS Validation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/\",\"name\":\"YITH WooCommerce Checkout Manager\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/author\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Checkout Manager: JS Validation","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:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/","og_locale":"en_US","og_type":"article","og_title":"YITH Checkout Manager: JS Validation","og_description":"The plugin allows you to&nbsp;enable validation in JS&nbsp;for the fields provided in the checkout form. If you enable the &#8220;JS Validation&#8221; options available in Settings > General options, customers who leave a required field blank will receive a dynamic notification informing them to insert the mandatory data. By setting the VAT number as a required &hellip; Continue reading JS Validation","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/","og_site_name":"YITH WooCommerce Checkout Manager","article_published_time":"2018-02-05T21:18:55+00:00","article_modified_time":"2024-05-03T14:57:31+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/","name":"YITH Checkout Manager: JS Validation","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg","datePublished":"2018-02-05T21:18:55+00:00","dateModified":"2024-05-03T14:57:31+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-content\/uploads\/sites\/58\/2018\/02\/JS-validation.jpg","width":1808,"height":564,"caption":"JS validation"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/settings\/js-validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/"},{"@type":"ListItem","position":2,"name":"JS Validation"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/","name":"YITH WooCommerce Checkout Manager","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":6,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/posts\/65\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-checkout-manager\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}