{"id":33,"date":"2017-04-12T05:50:35","date_gmt":"2017-04-12T05:50:35","guid":{"rendered":"http:\/\/test.omahaglasspro.com\/?page_id=33"},"modified":"2018-10-02T01:22:44","modified_gmt":"2018-10-02T06:22:44","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.omahaglasspro.com\/?page_id=33","title":{"rendered":"Contact Us"},"content":{"rendered":"\t\r\n\t\r\n\t\t\t\t\t\t<form  name= \"wpdevart_frontend_form_2\" id='wpdevart-forms-2' class=\"wpdevart-forms default-skin forms-general-styling\" method='post'  action='' enctype='multipart\/form-data'>\r\n\t\r\n\t\t\t\t\t\t                                            <!--bfh-number -->\r\n                                            <div class=\"wpdevart-input-field \">\r\n                                                 \r\n                                                        <label>Your Name*<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                    \r\n                                                    <input  type=\"text\"  \r\n                                                            id =\"input-field-20\"\r\n                                                            name=\"label_20\"   required                                                            value=\"\" class=\"form-control  \" \r\n                                                            placeholder=\"\" \r\n                                                             \r\n                                                           \/>\r\n                                                <\/div>\r\n                                            <\/div>\r\n\t\t\t\t\t\t\t\t\t\t                                            <!--bfh-number -->\r\n                                            <div class=\"wpdevart-input-field \">\r\n                                                 \r\n                                                        <label>Your Email*<\/label>\r\n                                                        \r\n                                                <div class=\"input-email input-field-inner\">\r\n                                                    \r\n                                                    <input  type=\"email\"  \r\n                                                            id =\"input-field-21\"\r\n                                                            name=\"label_21\"   required                                                            value=\"\" class=\"form-control  \" \r\n                                                            placeholder=\"\" \r\n                                                             \r\n                                                           \/>\r\n                                                <\/div>\r\n                                            <\/div>\r\n\t\t\t\t\t\t\t\t\t\t                                            <!--bfh-number -->\r\n                                            <div class=\"wpdevart-input-field \">\r\n                                                 \r\n                                                        <label>Your Number*<\/label>\r\n                                                        \r\n                                                <div class=\"input-tel input-field-inner\">\r\n                                                    \r\n                                                    <input  type=\"text\"  \r\n                                                            id =\"input-field-24\"\r\n                                                            name=\"label_24\"   required                                                            value=\"\" class=\"form-control phonenumber \" \r\n                                                            placeholder=\"\" \r\n                                                             \r\n                                                           \/>\r\n                                                <\/div>\r\n                                            <\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpdevart-textarea\">\r\n\t\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\t\t\t\t<label>Your Message* <\/label> \r\n\t\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\t\t<textarea name=\"label_26\" placeholder=\"\"><\/textarea> \r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t  <div class=\"wpdevart-input-field field-captcha\" style=\"margin-bottom:20px;\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<label>3  + 3 = ? <\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"input-text input-field-inner\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\"  name=\"submitedRecaptchaValue[]\" placeholder=\"\" required \/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"recaptchaSumValue[]\" value=\"6\" \/>\r\n                                                    <input type=\"hidden\" name=\"isCaptchaRequired[]\" value=\"1\" \/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t  \t\r\n   \r\n                   \r\n\t\t\t\t\t   \t\t\t\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"2\" \/>  \r\n\t\t\t\t\t\t<!--<input type=\"submit\" value='Submit' id=\"btn_send_form_email_2\" name=\"btn_send_form_email\" \/>-->\r\n\t\t\t\t\t\t<button type=\"submit\" name=\"btn_send_form_email\" id=\"btn_send_form_email_2\" >Submit<\/button>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t  <span id=\"loader-icon-2\" style=\"display:none;\" class=\"form-loader\">\r\n\t\t\t\t\t\t<img src=\"https:\/\/www.omahaglasspro.com\/wp-content\/plugins\/contact-forms-builder\/\/assets\/images\/loader.gif\" \/>\r\n\t\t\t\t\t  <\/span>\r\n\t\r\n\t\t\t\t   <\/form>\r\n\t\r\n\t\t\t\t\t\t<div id=\"frontend_form_messages_2\" style=\"margin-top:10px; margin-bottom:10px;\"><\/div>\r\n\t\r\n\t\t\t\t   <script>\r\n\t\r\n\t\t\t\t\t\/\/ Document\r\n\t\t\t\t\tjQuery( document ).ready(function() {\r\n\t\t\t\t\t\t\/\/\tDon't submit form on enter, allow enter button only for texts\r\n\t\t\t\t\t\tjQuery(document).on(\"keypress\", \":input:not(textarea)\", function(event) {\r\n\t\t\t\t\t\t\treturn event.keyCode != 13;\r\n\t\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\t\/\/ Do not use previous password saved in browser for password field\r\n\t\t\t\t\t\tjQuery(\"input[type='password']\").attr(\"autocomplete\", \"new-password\");\r\n\t\r\n\t\t\t\t\t\t\/\/handle form submission\r\n\t\t\t\t\t\t\/\/jQuery(\"form[name='wpdevart_frontend_form_2']\").submit(function(e){\r\n\t\t\t\t\t\tjQuery(document).on(\"submit\", \"form[name='wpdevart_frontend_form_2']\", function(e) {\r\n\t\t\t\t\t\t\t\/\/shortcode attributes e.g\r\n\t\t\t\t\t\t\tvar atts = {\"id\":\"2\"};\r\n\t\t\t\t\t\t\tvar options = { \r\n\t\t\t\t\t\t\t\t\/\/target:'#frontend_form_messages_2',   \/\/ target element(s) to be updated with server response \r\n\t\t\t\t\t\t\t\t\/\/ other available options: \r\n\t\t\t\t\t\t\t\t url:\"https:\/\/www.omahaglasspro.com\/wp-admin\/admin-ajax.php\",        \/\/ override for form's 'action' attribute \r\n\t\t\t\t\t\t\t\t\/\/url:\"https:\/\/www.omahaglasspro.com\/wp-content\/plugins\/contact-forms-builder\/check-ajax.php\",\r\n\t\t\t\t\t\t\t\tdata:{'btn_send_form_email':'1','process_ajax':'1','atts':JSON.stringify(atts),'action':'get_post_information'},\r\n\t\t\t\t\t\t\t\t\/\/type:      type        \/\/ 'get' or 'post', override for form's 'method' attribute \r\n\t\t\t\t\t\t\t\t\/\/dataType:  null        \/\/ 'xml', 'script', or 'json' (expected server response type) \r\n\t\t\t\t\t\t\t\t\/\/clearForm: true ,       \/\/ clear all form fields after successful submit \r\n\t\t\t\t\t\t\t\t\/\/resetForm: true  ,      \/\/ reset the form after successful submit \r\n\t\r\n\t\t\t\t\t\t\t\t\/\/ $.ajax options can be used here too, for example: \r\n\t\t\t\t\t\t\t\t\/\/timeout:   3000 \r\n\t\r\n\t\t\t\t\t\t\t\tbeforeSubmit: function() {\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#loader-icon-2\").show();\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\tsuccess:showResponse, \/\/ post-submit callback \r\n\t\t\t\t\t\t\t }; \r\n\t\r\n\t\t\t\t\t\t\t\/\/ inside event callbacks 'this' is the DOM element so we first \r\n\t\t\t\t\t\t\t\/\/ wrap it in a jQuery object and then invoke ajaxSubmit \r\n\t\t\t\t\t\t\tjQuery(this).ajaxSubmit(options); \r\n\t\r\n\t\t\t\t\t\t\t\/\/ !!! Important !!! \r\n\t\t\t\t\t\t\t\/\/ always return false to prevent standard browser submit and page navigation \r\n\t\t\t\t\t\t\treturn false; \r\n\t\t\t\t\t\t}); \r\n\t\r\n\t\r\n\t\t\t\t\t\tfunction showResponse(responseText, statusText, xhr, $form) {\r\n\t\t\t\t\t\t\tstr = responseText;\r\n\t\t\t\t\t\t\t\/\/replace first occurence \r\n\t\t\t\t\t\t\tstr = str.replace(\"successmsg_\", \" \"); \r\n\t\t\t\t\t\t\t\/\/ append response\r\n\t\r\n\t\t\t\t\t\t\tjQuery(\"#frontend_form_messages_2\").text(\" \");\r\n\t\t\t\t\t\t\tjQuery(\"#frontend_form_messages_2\").append(str);\r\n\t\t\t\t\t\t\tsetTimeout(function(){ \r\n\t\t\t\t\t\t\t\t\/\/jQuery(\"#frontend_form_messages_2 .success_message2\").fadeout(); \r\n\t\t\t\t\t\t\t\tjQuery(\"#frontend_form_messages_2 .success_message\").fadeOut();\r\n\t\t\t\t\t\t\t}, 5000);\r\n\t\r\n\t\t\t\t\t\t\t\/\/\tresponseText  , updates the div in target specified in options\r\n\t\t\t\t\t\t\tjQuery(\"#loader-icon-2\").hide();\r\n\t\r\n\t\t\t\t\t\t\tvar matched = responseText.search('successmsg_');\r\n\t\t\t\t\t\t\tif(matched != -1) {\r\n\t\r\n\t\t\t\t\t\t\t\tvar formId = \"2\";\r\n\t\t\t\t\t\t\t\t\r\n\t\r\n\t\t\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\t\t\t\t jQuery('#wpdevart-forms-2')[0].reset(); \r\n\t\t\t\t\t\t\t\t\t\t jQuery(\"#wpdevart-forms-\"+formId).each(function() {\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t },100);\r\n\t\t\t\t\t\t\t }\r\n\t\r\n\t\t\t\t\t\treturn false;\r\n\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tfunction showRequest() {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\t\tjQuery(document).on(\"click\",\"[type=reset].ws-reset-form\",function(e){\r\n\t\t\t\t\t\t\tformId= jQuery(this).attr('data-attr');\r\n\t\t\t\t\t\t\t\/\/reset\r\n\t\t\t\t\t\t\tjQuery(\"#wpdevart-forms-\"+formId).each(function(){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tjQuery(\"#wpdevart-forms-\"+formId)[0].reset();\r\n\t\t\t\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\t\treturn false;\r\n\t\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t<\/script>\r\n\t\t\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"collection":[{"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":3,"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/www.omahaglasspro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}