{"id":217050,"date":"2019-12-26T09:45:56","date_gmt":"2019-12-26T09:45:56","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=217050"},"modified":"2019-12-26T11:13:01","modified_gmt":"2019-12-26T11:13:01","slug":"validation-of-the-form-in-the-opencart","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/","title":{"rendered":"Validation of the form in the Opencart"},"content":{"rendered":"\n<p>When we are taking any data from the user end, then We need to validate the data which is sent by the user, the data which is sent by the user must be in the correct format which is required for the system, which is very necessary on the basis of the security perspective of the website. So Developers must validate the data on the server end in every form.<\/p>\n\n\n\n<p>Today we will talk about the Opencart Form validation for the Developers. First of all, when the user submits the form, then we should validate the form before submitting the form, In the Opencart we create the validateform\/validate method in the same file and we use the same when we get the form to submit as an action in the following way, For example:<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"947\" height=\"193\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\" alt=\"P1\" class=\"wp-image-217062\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png 947w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1-300x61.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1-250x51.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1-768x157.png 768w\" sizes=\"(max-width: 947px) 100vw, 947px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>In the validate method, We validate all the fields of the form in the following way. There is a common check in all the cases of all files, We need to check the permission of the file for the user on the admin end. For example: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"935\" height=\"121\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P2.png\" alt=\"P2\" class=\"wp-image-217063\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P2.png 935w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P2-300x39.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P2-250x32.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P2-768x99.png 768w\" sizes=\"(max-width: 935px) 100vw, 935px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>There are some other validations in the form.<\/p>\n\n\n\n<p>Validation for the blank space in the value section, We need to check ctype_space for all the fields. For example: <br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"799\" height=\"114\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P3.png\" alt=\" http:\/\/i.prntscr.com\/vrACzc9sTO_BOYMynUr48w.png\" class=\"wp-image-217066\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P3.png 799w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P3-300x43.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P3-250x36.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P3-768x110.png 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>Validation for the number type data, We need to check the data first, either it is available or not in the form data if it is a required field, for which we used isset method of the PHP, For example.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"919\" height=\"110\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P4.png\" alt=\"P4\" class=\"wp-image-217067\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P4.png 919w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P4-300x36.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P4-250x30.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P4-768x92.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>Then we will check for the blank space and we will check for the number type, The value which is coming from the form contains the value for the number type of not and value must be a positive number(if required). For example:<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"1001\" height=\"121\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P5.png\" alt=\"P5\" class=\"wp-image-217069\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P5.png 1001w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P5-300x36.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P5-250x30.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P5-768x93.png 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>Validation for the string type, We need to check the data first, either it is available or not in the form data if it is a required field, for which we used isset method of the PHP, For example.<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"919\" height=\"110\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P6.png\" alt=\"P6\" class=\"wp-image-217070\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P6.png 919w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P6-300x36.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P6-250x30.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P6-768x92.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>Then we will check for the blank space validation and we will any other type of validation which is required for your need(like string length, special character, script and more)<\/p>\n\n\n\n<p>Validation for the file type, This is a very important type validation and most of the vulnerabilities are found due to a lack of this type of validation. We need to take extra care when we are going to upload the files from the user, Then we have to make sure the file which the uploading by the user is in the same context which we have required, Sometimes many of the customers upload the hacking code by using the files, So we need to cross-check the file&#8217;s data as well,<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"1012\" height=\"300\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P7.png\" alt=\"P7\" class=\"wp-image-217075\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P7.png 1012w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P7-300x89.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P7-250x74.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P7-768x228.png 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"1070\" height=\"536\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P8.png\" alt=\"P8\" class=\"wp-image-217076\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P8.png 1070w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P8-300x150.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P8-250x125.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P8-768x385.png 768w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"1048\" height=\"563\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P9.png\" alt=\"P9\" class=\"wp-image-217077\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P9.png 1048w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P9-300x161.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P9-250x134.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P9-768x413.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" loading=\"lazy\" \/><\/figure><\/div>\n\n\n\n<p>We should use the validation while we are developing the module for the data Because in the current world data security is a very important part of any e-commerce business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we are taking any data from the user end, then We need to validate the data which is sent by the user, the data which is sent by the user must be in the correct format which is required for the system, which is very necessary on the basis of the security perspective of <a href=\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":226,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-217050","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Validation of the form in the Opencart - Webkul Blog<\/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:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Validation of the form in the Opencart - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"When we are taking any data from the user end, then We need to validate the data which is sent by the user, the data which is sent by the user must be in the correct format which is required for the system, which is very necessary on the basis of the security perspective of [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-26T09:45:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-26T11:13:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\" \/>\n<meta name=\"author\" content=\"Arun Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Arun Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\"},\"author\":{\"name\":\"Arun Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd\"},\"headline\":\"Validation of the form in the Opencart\",\"datePublished\":\"2019-12-26T09:45:56+00:00\",\"dateModified\":\"2019-12-26T11:13:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\"},\"wordCount\":492,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\",\"url\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\",\"name\":\"Validation of the form in the Opencart - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\",\"datePublished\":\"2019-12-26T09:45:56+00:00\",\"dateModified\":\"2019-12-26T11:13:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png\",\"width\":947,\"height\":193,\"caption\":\"P1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Validation of the form in the Opencart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd\",\"name\":\"Arun Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Arun Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/arun-kumar350\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Validation of the form in the Opencart - Webkul Blog","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:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/","og_locale":"en_US","og_type":"article","og_title":"Validation of the form in the Opencart - Webkul Blog","og_description":"When we are taking any data from the user end, then We need to validate the data which is sent by the user, the data which is sent by the user must be in the correct format which is required for the system, which is very necessary on the basis of the security perspective of [...]","og_url":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-12-26T09:45:56+00:00","article_modified_time":"2019-12-26T11:13:01+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png","type":"","width":"","height":""}],"author":"Arun Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Arun Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/"},"author":{"name":"Arun Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd"},"headline":"Validation of the form in the Opencart","datePublished":"2019-12-26T09:45:56+00:00","dateModified":"2019-12-26T11:13:01+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/"},"wordCount":492,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/","url":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/","name":"Validation of the form in the Opencart - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png","datePublished":"2019-12-26T09:45:56+00:00","dateModified":"2019-12-26T11:13:01+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/P1.png","width":947,"height":193,"caption":"P1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/validation-of-the-form-in-the-opencart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Validation of the form in the Opencart"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd","name":"Arun Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Arun Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/arun-kumar350\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/217050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/226"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=217050"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/217050\/revisions"}],"predecessor-version":[{"id":217217,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/217050\/revisions\/217217"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=217050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=217050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=217050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}