{"id":2193,"date":"2017-05-17T10:12:39","date_gmt":"2017-05-17T10:12:39","guid":{"rendered":"http:\/\/www.duragates.com\/?page_id=2193"},"modified":"2023-03-06T12:30:26","modified_gmt":"2023-03-06T12:30:26","slug":"request-a-quote","status":"publish","type":"page","link":"https:\/\/www.duragates.com\/archive\/request-a-quote\/","title":{"rendered":"Request a Quote"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2193\" class=\"elementor elementor-2193\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-26e4a956 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"26e4a956\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-23010955\" data-id=\"23010955\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f6a0839 elementor-widget elementor-widget-html\" data-id=\"f6a0839\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"inner-wrapper dg-request-a-quote-form\"><script src=\"https:\/\/crm.zoho.com\/crm\/WebFormServeServlet?rid=a9ff7bd02b9db8f7a5564d00c928d93845d2fbde75ec52167e59943443ea58a6gidaa3171946efbfcbcd488ad2da9d5bb9e08387b1b7086f4c6bb7118de4ad08959&amp;script=$sYG\"><\/script><\/div>\n<script type=\"text\/javascript\">\njQuery(function($) { \nwindow.getStateVal = function(t) {\n\tvar v = t.value,\n\t\tc = $(t).find(':selected').parent().attr('value'),\n\t\to = '';\n\t\/\/console.log('new state=', v);\n\tif(v == 'OTHERS') {\n\t\t$(\"input#State\").val('').show();\n\t} else if(v == 'SELSTATE') {\n\t\t$(\"input#State\").val('');\n\t} else {\n\t\t$(\"input#State\").hide();\n\t\t$(\"input#State\").val(v);\n\t}\n\tconsole.log('saved state ::', $(\"input#State\").val());\n\tif( c != undefined ) {\n\t\t\/\/ console.log('t :'+  c);\n\t\to = (c == 'OTH' || v == 'SELSTATE')? 'SELCOUNTRY' : c;\n\t\t$(\"select#selbxCountry option[value='\"+o+\"']\").attr(\"selected\",\"selected\").trigger(\"change\");\n\t}\t\n};\t\nwindow.getCountryVal = function(t) {\n\tvar v = t.value;\n\t\/\/console.log('new Country=', v);\n\tif(v == 'SELCOUNTRY') {\n\t\t$(\"input#Country\").val('');\n\t} else {\n\t\t$(\"input#Country\").val(v);\n\t}\t\n\tconsole.log('saved Country ::', $(\"input#Country\").val());\n};\n$(document).ready(function() {\n\tvar interval_dg_quote_form = setInterval(function(){\n\t\tconsole.log(\"dg-request-a-quote-form checking ...\");\n\t\tif( $(\".dg-request-a-quote-form #crmWebToEntityForm.zcwf_lblLeft .zcwf_row\").length ) {\n\t\t\tconsole.log(\"dg-request-a-quote-form loaded!!\");\n\t\t\tstop_interval_dg_quote_form();\n\t\t}\n\t}, 1000);\n\n\tvar stop_interval_dg_quote_form = function() {\n\t\tclearInterval(interval_dg_quote_form);\n\t\tsetTimeout(append_dg_quote_form, 1000);\n\n\t};\n\tvar append_dg_quote_form = function() {\n\t\t$(\".dg-request-a-quote-form #crmWebToEntityForm.zcwf_lblLeft .zcwf_row:nth-child(10)\").before(\"<div><h1 class='title-header'>Company Information <\/h1><\/div>\");\n\t\t$(\".dg-request-a-quote-form #crmWebToEntityForm.zcwf_lblLeft .zcwf_row:nth-child(25)\").after(\"<div><h1 class='title-header'>Project Details<\/h1><div class='project-details'> Please provide the following project details. Using our configurator we will able to recommend a suitable model, length of the counterbalance, distance between the carriages and the size of the foundation. Based on that, we will also provide a quote including shipping costs. <\/div><\/div>\");\n\t\t$(\".dg-request-a-quote-form #crmWebToEntityForm.zcwf_lblLeft .zcwf_row:nth-child(30)\").after(\"<div class='span12 request-img'><img src='https:\/\/www.duragates.com\/wp-content\/uploads\/2017\/06\/gate_sketch.jpg'><\/div><div><h1 class='title-header'>I am interested in<\/h1><\/div>\");\n\n\t\t\/\/ validate\n\t\tvar isFormValid = false;\n\t\t$(\".crmWebToEntityForm .formsubmit\").click(function(e) {\n\t\t\t\/\/ console.log('isFormValid...', isFormValid );\n\t\t\tif(isFormValid) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\te.preventDefault();\n\n\t\t\ttry {\n\t\t\t\tvar isInputValid = checkMandatory4780606000011130069();\n\t\t\t} catch(e) {\n\t\t\t\t\/\/ console.log('Ex: ', e.error_messsge );\n\t\t\t\tvar isInputValid = false;\n\t\t\t}\n\t\t\t\n\t\t\tif(typeof isInputValid == 'undefined') {\n\t\t\t\tisInputValid = true;\n\t\t\t\tdocument.querySelector('.crmWebToEntityForm .formsubmit').removeAttribute('disabled');\n\t\t\t}\n\n\t\t\t\/\/ console.log('isInputValid...',  isInputValid );\n\t\t\tif(isInputValid === false) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tvar fnm = document.forms['WebToLeads4780606000011130069']['First Name'],\n\t\t\t \tlnm = document.forms['WebToLeads4780606000011130069']['Last Name'],\n\t\t\t\tcompnm = document.forms['WebToLeads4780606000011130069']['Company'];\n\n\t\t\tif (((fnm.value).replace(\/^\\s+|\\s+$\/g, '')).length > 30) {\n\t\t\t\talert('First Name (You have exceeded the maximum limit of 30 character.)');\n\t\t\t\tfnm.focus();\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (((lnm.value).replace(\/^\\s+|\\s+$\/g, '')).length > 30) {\n\t\t\t\talert('Last Name (You have exceeded the maximum limit of 30 character.)');\n\t\t\t\tlnm.focus();\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (((compnm.value).replace(\/^\\s+|\\s+$\/g, '')).length > 30) {\n\t\t\t\talert('Company (You have exceeded the maximum limit of 30 character.)');\n\t\t\t\tcompnm.focus();\n\t\t\t\treturn false;\n\t\t\t}\t\t\t\n\t\t\tisFormValid = true;\n\t\t\t\/\/ console.log('isFormValid...', isFormValid );\n\t\t\t$(\".crmWebToEntityForm .formsubmit\").trigger(\"click\");\n\t\t\tdocument.querySelector('.crmWebToEntityForm .formsubmit').setAttribute('disabled', true);\n\t\t});\n\t\t\/\/ State abbrevation BEGIN\n\t\tvar opt ='',\n\t\t\tsel = '',\n\t\t\tselOptState='SELSTATE',\n\t\t\tselOptCountry='SELCOUNTRY';\n\t\t$.getJSON('\/countries_and_states_array.json', function(jsondata){\n\t\t\tif(!$.isEmptyObject(jsondata)) {\n\t\t\t\topt ='';\n\t\t\t\topt += \"<option value='SELSTATE'>Select State<\/option>\";\t\t\t\t\n\t\t\t\t$.each(jsondata, function(indx, valCountry) {\n\t\t\t\t\topt += \"<optgroup label='\"+valCountry['name']+\"' value='\"+valCountry['abbreviation']+\"'>\";\n\t\t\t\t\t\/\/console.log('indx::', indx);\n\t\t\t\t\t\/\/console.log('valCountry::', valCountry);\n\t\t\t\t\t$.each(valCountry['states'], function(idx, valStates) {\n\t\t\t\t\t\tsel = (valStates['abbreviation'] == selOptState)? \"selected\" : \"\";\n\t\t\t\t\t\topt += \"<option value='\"+valStates['abbreviation']+\"' \"+sel+\"> \"+valStates['name']+\" <\/option>\";\n\t\t\t\t\t});\t\n\t\t\t\t\topt += \"<\/optgroup>\";\n\t\t\t\t});\n\t\t\t\t\/\/ OTHERS\n\t\t\t\topt += \"<optgroup label='OTHERS' value='OTH'><option value='OTHERS'>Others<\/option><\/optgroup>\";\t\t\t\t\n\t\t\t\t$(\"input#State\").before(\"<select name='selbxState' id='selbxState' onChange='getStateVal(this);' style='width:90%;'>\"+opt+\"<\/select>\");\n\t\t\t\t$(\"input#State\").hide();\n\t\t\t}\n\t\t});\t\t\t\n\t\t\/\/ State abbrevation END\n\t\t$.getJSON('\/countries_array.json', function(jsondata){\n\t\t\tif(!$.isEmptyObject(jsondata)) {\n\t\t\t\topt ='';\n\t\t\t\topt += \"<option value='SELCOUNTRY'>Select Country<\/option>\";\n\t\t\t\t$.each(jsondata, function(indx, valCountry) {\n\t\t\t\t\tsel = (valCountry['abbreviation'] == selOptCountry)? \"selected\" : \"\";\n\t\t\t\t\topt += \"<option value='\"+valCountry['abbreviation']+\"' \"+sel+\"> \"+valCountry['name']+\" <\/option>\";\t\t\n\t\t\t\t});\n\t\t\t\t$(\"input#Country\").after(\"<select name='selbxCountry' id='selbxCountry' onChange='getCountryVal(this);' style='width:90%;'>\"+opt+\"<\/select>\");\n\t\t\t\t$(\"input#Country\").hide();\n\t\t\t}\n\t\t});\n\t\t\/\/\n\t\t\/\/getStateVal({value:selOptState});\n\t\t\/\/getCountryVal({value:selOptCountry});\t\t\n\t};\n});\n});\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-id-2193.php","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Request a Quote for Sliding Gate System\/Hardware - DuraGates<\/title>\n<meta name=\"description\" content=\"Sliding Gate System, Sliding Gate requirements,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.duragates.com\/archive\/request-a-quote\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Request a Quote for Sliding Gate System\/Hardware - DuraGates\" \/>\n<meta property=\"og:description\" content=\"Sliding Gate System, Sliding Gate requirements,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.duragates.com\/archive\/request-a-quote\/\" \/>\n<meta property=\"og:site_name\" content=\"archive-DuraGates : The one-stop solution for light, medium or heavy sliding gates\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-06T12:30:26+00:00\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.duragates.com\/archive\/request-a-quote\/\",\"url\":\"https:\/\/www.duragates.com\/archive\/request-a-quote\/\",\"name\":\"Request a Quote for Sliding Gate System\/Hardware - DuraGates\",\"isPartOf\":{\"@id\":\"https:\/\/www.duragates.com\/archive\/#website\"},\"datePublished\":\"2017-05-17T10:12:39+00:00\",\"dateModified\":\"2023-03-06T12:30:26+00:00\",\"description\":\"Sliding Gate System, Sliding Gate requirements,\",\"breadcrumb\":{\"@id\":\"https:\/\/www.duragates.com\/archive\/request-a-quote\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.duragates.com\/archive\/request-a-quote\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.duragates.com\/archive\/request-a-quote\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.duragates.com\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Request a Quote\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.duragates.com\/archive\/#website\",\"url\":\"https:\/\/www.duragates.com\/archive\/\",\"name\":\"archive-DuraGates : The one-stop solution for light, medium or heavy sliding gates\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.duragates.com\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Request a Quote for Sliding Gate System\/Hardware - DuraGates","description":"Sliding Gate System, Sliding Gate requirements,","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:\/\/www.duragates.com\/archive\/request-a-quote\/","og_locale":"en_US","og_type":"article","og_title":"Request a Quote for Sliding Gate System\/Hardware - DuraGates","og_description":"Sliding Gate System, Sliding Gate requirements,","og_url":"https:\/\/www.duragates.com\/archive\/request-a-quote\/","og_site_name":"archive-DuraGates : The one-stop solution for light, medium or heavy sliding gates","article_modified_time":"2023-03-06T12:30:26+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.duragates.com\/archive\/request-a-quote\/","url":"https:\/\/www.duragates.com\/archive\/request-a-quote\/","name":"Request a Quote for Sliding Gate System\/Hardware - DuraGates","isPartOf":{"@id":"https:\/\/www.duragates.com\/archive\/#website"},"datePublished":"2017-05-17T10:12:39+00:00","dateModified":"2023-03-06T12:30:26+00:00","description":"Sliding Gate System, Sliding Gate requirements,","breadcrumb":{"@id":"https:\/\/www.duragates.com\/archive\/request-a-quote\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.duragates.com\/archive\/request-a-quote\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.duragates.com\/archive\/request-a-quote\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.duragates.com\/archive\/"},{"@type":"ListItem","position":2,"name":"Request a Quote"}]},{"@type":"WebSite","@id":"https:\/\/www.duragates.com\/archive\/#website","url":"https:\/\/www.duragates.com\/archive\/","name":"archive-DuraGates : The one-stop solution for light, medium or heavy sliding gates","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.duragates.com\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/pages\/2193"}],"collection":[{"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/comments?post=2193"}],"version-history":[{"count":35,"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/pages\/2193\/revisions"}],"predecessor-version":[{"id":16774,"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/pages\/2193\/revisions\/16774"}],"wp:attachment":[{"href":"https:\/\/www.duragates.com\/archive\/wp-json\/wp\/v2\/media?parent=2193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}