{"id":367032,"date":"2025-07-07T23:40:28","date_gmt":"2025-07-08T04:40:28","guid":{"rendered":"https:\/\/wsform.com\/?post_type=knowledgebase&#038;p=367032"},"modified":"2026-07-29T01:23:26","modified_gmt":"2026-07-29T06:23:26","slug":"validation","status":"publish","type":"knowledgebase","link":"https:\/\/wsform.com\/knowledgebase\/validation\/","title":{"rendered":"Validation Field"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Validation field<\/strong> in WS Form PRO provides a powerful way to display a list of validation errors when a form fails to submit. This feature enhances the user experience by clearly communicating what needs to be fixed before submission, which is especially helpful for improving accessibility.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you&#8217;re building simple contact forms or complex multi-step forms, the Validation field in WS Form PRO is an essential tool for robust WordPress form validation. It helps your users quickly identify errors and correct them, improving form completion rates and overall accessibility.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Displaying validation errors in a consistent, accessible manner is recommended by <a class=\"cursor-pointer\" href=\"https:\/\/webaim.org\/techniques\/formvalidation\/#errors\" target=\"_new\" rel=\"noopener\">WebAIM\u2019s guidelines on form validation<\/a>, particularly the practice of placing errors at the top of the form. WS Form\u2019s Validation field makes it easy to implement this best practice in any WordPress form.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-367445 aligncenter\" src=\"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-1024x519.gif\" alt=\"WS Form PRO - Validation Field Type\" width=\"1024\" height=\"519\" srcset=\"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-1024x519.gif 1024w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-300x152.gif 300w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-768x389.gif 768w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-1536x779.gif 1536w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-1548x785.gif 1548w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-1164x590.gif 1164w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-532x270.gif 532w, https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example-176x89.gif 176w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Demo<\/h2>\n\n\n<div class=\"wsft-demo wp-block-ws-form-demo\"><form action=\"https:\/\/wsform.com\/wp-json\/ws-form\/v1\/submit\" class=\"wsf-form wsf-form-canvas\" id=\"ws-form-1\" data-id=\"13801\" method=\"POST\" data-instance-id=\"1\" data-wsf-style-id=\"2\"><\/form>\n<div class=\"wp-block-buttons wsft-form-download is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-primary\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wsform.com\/wp-json\/ws-form-theme\/v1\/forms\/13801\/download\">Download Demo<\/a><\/div>\n<\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">When Is the Validation Field Shown?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Validation field appears automatically after the form has been validated, typically when the user clicks the Submit button. It gives users a clear overview of all fields that need attention.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why Use a Validation Field?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to improving accessibility and usability, the Validation field helps ensure WordPress form validation is consistent, customizable, and easy to manage, especially in large or complex forms.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Key Features of the Validation Field<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Fully customizable message and layout<\/li>\n\n\n\n<li>Supports full styling through the <a href=\"https:\/\/wsform.com\/knowledgebase\/styler\/\">WS Form Styler<\/a><\/li>\n\n\n\n<li>Option to show current invalid feedback with clickable focus<\/li>\n\n\n\n<li>Scope validation to the entire form, a specific tab, or a section<\/li>\n\n\n\n<li>Add multiple Validation fields anywhere on the form as needed<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Adding a Validation Field<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To learn how to add, edit, clone, move, resize, offset, or delete a validation field, please <a href=\"https:\/\/wsform.com\/knowledgebase\/fields\/\">click here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Field Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To edit the settings for this field type, click the settings <i class=\"icon circle settings\"><\/i> icon on the field itself. Click the <strong>Save &amp; Close<\/strong> or <strong>Save<\/strong> button to save your changes. If you do not want to save your changes, you can click the <strong>Cancel<\/strong> button or click any other form element to close the field settings sidebar.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-41195 aligncenter\" src=\"https:\/\/wsform.com\/wp-content\/uploads\/2018\/08\/field-edit.jpg\" alt=\"WS Form - Field Settings Icon\" width=\"250\" height=\"146\" srcset=\"https:\/\/wsform.com\/wp-content\/uploads\/2018\/08\/field-edit.jpg 315w, https:\/\/wsform.com\/wp-content\/uploads\/2018\/08\/field-edit-300x175.jpg 300w, https:\/\/wsform.com\/wp-content\/uploads\/2018\/08\/field-edit-176x103.jpg 176w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n\n\n<div class=\"wsft-tabs wp-block-ws-form-tabs\" id=\"wsft-tabs-1\" data-wsft-tabs=\"1\" data-default-anchor=\"basic\" data-mobile-breakpoint=\"782\" data-wsft-tabs-initial=\"basic\">\n\t<div class=\"wp-block-ws-form-tabs__inner\">\n\t\t<div class=\"wp-block-ws-form-tabs__navigation\">\n\t\t\t<div class=\"wsft-tabs__mobile\" data-wsft-tabs-mobile hidden>\n\t\t\t\t<label class=\"wsft-tabs__mobile-label\" for=\"wsft-tabs-1-select\">\n\t\t\t\t\tChoose a section\t\t\t\t<\/label>\n\t\t\t\t<select\n\t\t\t\t\tid=\"wsft-tabs-1-select\"\n\t\t\t\t\tclass=\"wsft-tabs__select\"\n\t\t\t\t\taria-controls=\"wsft-tabs-1-panels\"\n\t\t\t\t>\n\t\t\t\t\t<option value=\"basic\" selected>Basic<\/option><option value=\"advanced\">Advanced<\/option>\t\t\t\t<\/select>\n\t\t\t<\/div>\n\t\t\t<div class=\"wsft-tabs__nav-wrap\" data-wsft-tabs-nav>\n\t\t\t\t<ul\n\t\t\t\t\tclass=\"wsft-tabs__list\"\n\t\t\t\t\trole=\"tablist\"\n\t\t\t\t\taria-orientation=\"horizontal\"\n\t\t\t\t\taria-label=\"Sections\"\n\t\t\t\t>\n\t\t\t\t\t<li class=\"wsft-tabs__item wp-block-ws-form-tabs__item is-active-branch wsft-tabs__item--active\" role=\"none\"><button type=\"button\" class=\"wsft-tab wp-block-ws-form-tabs__btn is-active\" role=\"tab\" id=\"wsft-tabs-1-tab-basic\" aria-controls=\"wsft-tabs-1-panel-basic\" aria-selected=\"true\" tabindex=\"0\" data-wsft-tab-target=\"basic\"><span class=\"wp-block-ws-form-tabs__btn-text\">Basic<\/span><\/button><\/li><li class=\"wsft-tabs__item wp-block-ws-form-tabs__item\" role=\"none\"><button type=\"button\" class=\"wsft-tab wp-block-ws-form-tabs__btn\" role=\"tab\" id=\"wsft-tabs-1-tab-advanced\" aria-controls=\"wsft-tabs-1-panel-advanced\" aria-selected=\"false\" tabindex=\"-1\" data-wsft-tab-target=\"advanced\"><span class=\"wp-block-ws-form-tabs__btn-text\">Advanced<\/span><\/button><\/li>\t\t\t\t<\/ul>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"wp-block-ws-form-tabs__panels\" id=\"wsft-tabs-1-panels\">\n\t\t\t<div id=\"wsft-tabs-1-panel-basic\" role=\"tabpanel\" aria-labelledby=\"wsft-tabs-1-tab-basic\" tabindex=\"0\" data-wsft-tab-anchor=\"basic\" class=\"wp-block-ws-form-tab-panel wp-block-ws-form-tab\"><div class=\"wp-block-ws-form-tab-panel__body\">\n<h2 class=\"wp-block-heading\">Basic<\/h2>\n\n<p class=\"wp-block-paragraph\">The basic tab contains settings that the majority of WS Form users will need to control a field. The settings are as follows:<\/p>\n\n<h3 class=\"wp-block-heading\">Label<\/h3>\n\n<p class=\"wp-block-paragraph\">This is the label shown alongside the field. As well as entering a label into this field, you can also double click the label of the field in the editor. You should enter an easy-to-understand label for your field, for example, <strong>Summary<\/strong>.<\/p>\n\n<h3 class=\"wp-block-heading\">Hidden<\/h3>\n\n<p class=\"wp-block-paragraph\">If checked the field will be hidden on the form. It can be shown again using <a href=\"https:\/\/wsform.com\/knowledgebase\/conditional-logic\/\">conditional logic<\/a> or your own JavaScript.<\/p>\n\n<h3 class=\"wp-block-heading\">Appearance<\/h3>\n\n<h4 class=\"wp-block-heading\">Message<\/h4>\n\n<p class=\"wp-block-paragraph\">This is the message that is shown above the validation errors.<\/p>\n\n<h4 class=\"wp-block-heading\">Show Invalid Feedback<\/h4>\n\n<p class=\"wp-block-paragraph\">If enabled, the validation errors will include the current invalid feedback associated with each field, e.g. This field is required.<\/p>\n\n<h3 class=\"wp-block-heading\">Behavior<\/h3>\n\n<h4 class=\"wp-block-heading\">Focus on Click<\/h4>\n\n<p class=\"wp-block-paragraph\">If enabled, each validation error can be clicked on to focus on that particular field.<\/p>\n\n<h4 class=\"wp-block-heading\">Real Time Update<\/h4>\n\n<p class=\"wp-block-paragraph\">If checked, the validation errors will update in real time after the field is shown.<\/p>\n\n<h4 class=\"wp-block-heading\">Scope<\/h4>\n\n<p class=\"wp-block-paragraph\">This defaults to <strong>Form<\/strong> which means the field will show validation errors for the entire form. If you choose <strong>Tab<\/strong> or <strong>Section<\/strong> it will only show validation errors for fields contained within tab or section the field is in. This can be useful for showing validation errors on each tab of a multi-step form, or on sections containing many fields.<\/p>\n<\/div><\/div><div id=\"wsft-tabs-1-panel-advanced\" role=\"tabpanel\" aria-labelledby=\"wsft-tabs-1-tab-advanced\" tabindex=\"0\" data-wsft-tab-anchor=\"advanced\" class=\"wp-block-ws-form-tab-panel wp-block-ws-form-tab\" hidden><div class=\"wp-block-ws-form-tab-panel__body\">\n<h2 class=\"wp-block-heading\">Advanced<\/h2>\n\n<p class=\"wp-block-paragraph\">The advanced tab contains additional form attribute settings that provide further control over how a field is rendered.<\/p>\n\n<h3 class=\"wp-block-heading\">Style<\/h3>\n\n<p class=\"wp-block-paragraph\">Use the <strong>Style<\/strong> settings to change the design of the validate field.<\/p>\n\n<h4 class=\"wp-block-heading\">Vertical Alignment<\/h4>\n\n<p class=\"wp-block-paragraph\">The vertical alignment option allows you to choose how this field will be vertically aligned in relation to fields in the same row. The options are:<\/p>\n\n<ul class=\"wp-block-list\">\n\n<li>Top<\/li>\n\n\n\n<li>Middle<\/li>\n\n\n\n<li>Bottom<\/li>\n\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Mask<\/h3>\n\n<p class=\"wp-block-paragraph\">The mask determines the HTML used to render the Validation field. The default mask is as follows:<\/p>\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;h2&gt;#validate_message&lt;\/h2&gt;\n\n#validate_list<\/pre>\n\n<p class=\"wp-block-paragraph\">You can change this markup to anything you wish. The following WS Form variables can be used in this field:<\/p>\n\n<ul class=\"wp-block-list\">\n\n<li><code>#validate_message<\/code> &#8211; Renders the Validation field Message (As specified in the <strong>Message<\/strong> setting in the <strong>Basic<\/strong> tab).<\/li>\n\n\n\n<li><code>#validate_list<\/code> &#8211; Renders the list of validation errors as an unordered list.<\/li>\n\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Classes<\/h3>\n\n<p class=\"wp-block-paragraph\">For developers WS Form allows you to add your own classes to fields.<\/p>\n\n<h4 class=\"wp-block-heading\">Field Wrapper<\/h4>\n\n<p class=\"wp-block-paragraph\">The wrapper CSS class setting enables you to add a class (or classes) to a field wrapper. Field wrappers are sections of HTML added around a field to position them on the page. To add multiple classes, add a space between the class names.<\/p>\n\n<h3 class=\"wp-block-heading\">Restrictions<\/h3>\n\n<p class=\"wp-block-paragraph\">Field restrictions enable you to define what can or cannot be entered into the field.<\/p>\n\n<h4 class=\"wp-block-heading\">User Status<\/h4>\n\n<p class=\"wp-block-paragraph\">Choose from one of the options to filter which user status can see this field:<\/p>\n\n<ul class=\"wp-block-list\">\n\n<li>Any<\/li>\n\n\n\n<li>Is Logged In<\/li>\n\n\n\n<li>Is Logged Out<\/li>\n\n\n\n<li>Has User Role or Capability<\/li>\n\n<\/ul>\n\n<p class=\"wp-block-paragraph\">If you choose <strong>Has User Role or Capability<\/strong>, additional settings will appear that enable you to choose one or more roles or capabilities.<\/p>\n\n<h3 class=\"wp-block-heading\">Custom Attributes<\/h3>\n\n<p class=\"wp-block-paragraph\">This setting is used to add custom attributes to the HTML of this field, such as <code>data-my-attribute=\"1234\"<\/code>. You can add as many custom attributes as you need.<\/p>\n\n<p class=\"wp-block-paragraph\">To add a custom attributes key value pair:<\/p>\n\n<ol class=\"wp-block-list\">\n\n<li>Click the <strong>Add<\/strong>\u00a0<i class=\"icon plus-circle\"><\/i> icon to add a custom attribute row.<\/li>\n\n\n\n<li>Enter the key in the left column.<\/li>\n\n\n\n<li>Enter the value in the right column.<\/li>\n\n\n\n<li>Click <strong>Save<\/strong> to save the custom attributes.<\/li>\n\n<\/ol>\n\n<h3 class=\"wp-block-heading\">Breakpoints<\/h3>\n\n<p class=\"wp-block-paragraph\">The breakpoint settings define the width of a field and also what the offset (how many columns from the left-hand side of the form or the previous field) of a field is for each breakpoint. For more information about the breakpoint settings and capabilities of WS Form, <a href=\"https:\/\/wsform.com\/knowledgebase\/responsive-forms\/\">click here<\/a>.<\/p>\n<\/div><\/div>\t\t<\/div>\n\t<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>The Validate field shows a list of validation errors when the form is validated.<\/p>\n","protected":false},"featured_media":367445,"parent":0,"menu_order":74,"template":"","knowledgebase_category":[53],"search_keyword":[3431,3432],"class_list":["post-367032","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","knowledgebase_category-field-types-content"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.2 (Yoast SEO v28.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Validation Field - WS Form<\/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:\/\/wsform.com\/knowledgebase\/validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Validation Field\" \/>\n<meta property=\"og:description\" content=\"The Validate field shows a list of validation errors when the form is validated.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wsform.com\/knowledgebase\/validation\/\" \/>\n<meta property=\"og:site_name\" content=\"WS Form\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/groups\/wsform\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T06:23:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"1939\" \/>\n\t<meta property=\"og:image:height\" content=\"983\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ws_form\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/\",\"url\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/\",\"name\":\"Validation Field - WS Form\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wsform.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/validation_example.gif\",\"datePublished\":\"2025-07-08T04:40:28+00:00\",\"dateModified\":\"2026-07-29T06:23:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wsform.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/validation_example.gif\",\"contentUrl\":\"https:\\\/\\\/wsform.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/validation_example.gif\",\"width\":1939,\"height\":983,\"caption\":\"WS Form PRO - Validation Field Type\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/validation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wsform.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/wsform.com\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Validation Field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wsform.com\\\/#website\",\"url\":\"https:\\\/\\\/wsform.com\\\/\",\"name\":\"WS Form\",\"description\":\"Smart. Fast. Forms\",\"publisher\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wsform.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wsform.com\\\/#organization\",\"name\":\"WS Form\",\"url\":\"https:\\\/\\\/wsform.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wsform.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wsform.com\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/stripe_logo.jpg\",\"contentUrl\":\"https:\\\/\\\/wsform.com\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/stripe_logo.jpg\",\"width\":400,\"height\":400,\"caption\":\"WS Form\"},\"image\":{\"@id\":\"https:\\\/\\\/wsform.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/groups\\\/wsform\",\"https:\\\/\\\/x.com\\\/ws_form\"],\"legalName\":\"WS Form LLC\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Validation Field - WS Form","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:\/\/wsform.com\/knowledgebase\/validation\/","og_locale":"en_US","og_type":"article","og_title":"Validation Field","og_description":"The Validate field shows a list of validation errors when the form is validated.","og_url":"https:\/\/wsform.com\/knowledgebase\/validation\/","og_site_name":"WS Form","article_publisher":"https:\/\/www.facebook.com\/groups\/wsform","article_modified_time":"2026-07-29T06:23:26+00:00","og_image":[{"width":1939,"height":983,"url":"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example.gif","type":"image\/gif"}],"twitter_card":"summary_large_image","twitter_site":"@ws_form","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wsform.com\/knowledgebase\/validation\/","url":"https:\/\/wsform.com\/knowledgebase\/validation\/","name":"Validation Field - WS Form","isPartOf":{"@id":"https:\/\/wsform.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wsform.com\/knowledgebase\/validation\/#primaryimage"},"image":{"@id":"https:\/\/wsform.com\/knowledgebase\/validation\/#primaryimage"},"thumbnailUrl":"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example.gif","datePublished":"2025-07-08T04:40:28+00:00","dateModified":"2026-07-29T06:23:26+00:00","breadcrumb":{"@id":"https:\/\/wsform.com\/knowledgebase\/validation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wsform.com\/knowledgebase\/validation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wsform.com\/knowledgebase\/validation\/#primaryimage","url":"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example.gif","contentUrl":"https:\/\/wsform.com\/wp-content\/uploads\/2025\/07\/validation_example.gif","width":1939,"height":983,"caption":"WS Form PRO - Validation Field Type"},{"@type":"BreadcrumbList","@id":"https:\/\/wsform.com\/knowledgebase\/validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wsform.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/wsform.com\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"Validation Field"}]},{"@type":"WebSite","@id":"https:\/\/wsform.com\/#website","url":"https:\/\/wsform.com\/","name":"WS Form","description":"Smart. Fast. Forms","publisher":{"@id":"https:\/\/wsform.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wsform.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wsform.com\/#organization","name":"WS Form","url":"https:\/\/wsform.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wsform.com\/#\/schema\/logo\/image\/","url":"https:\/\/wsform.com\/wp-content\/uploads\/2018\/11\/stripe_logo.jpg","contentUrl":"https:\/\/wsform.com\/wp-content\/uploads\/2018\/11\/stripe_logo.jpg","width":400,"height":400,"caption":"WS Form"},"image":{"@id":"https:\/\/wsform.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/groups\/wsform","https:\/\/x.com\/ws_form"],"legalName":"WS Form LLC"}]}},"_links":{"self":[{"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/knowledgebase\/367032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/types\/knowledgebase"}],"version-history":[{"count":24,"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/knowledgebase\/367032\/revisions"}],"predecessor-version":[{"id":425626,"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/knowledgebase\/367032\/revisions\/425626"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/media\/367445"}],"wp:attachment":[{"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/media?parent=367032"}],"wp:term":[{"taxonomy":"knowledgebase_category","embeddable":true,"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/knowledgebase_category?post=367032"},{"taxonomy":"search_keyword","embeddable":true,"href":"https:\/\/wsform.com\/wp-json\/wp\/v2\/search_keyword?post=367032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}