{"id":488,"date":"2021-11-23T12:24:10","date_gmt":"2021-11-23T12:24:10","guid":{"rendered":"https:\/\/oxalic.net\/main\/?page_id=488"},"modified":"2022-10-10T14:13:16","modified_gmt":"2022-10-10T13:13:16","slug":"email-2","status":"publish","type":"page","link":"https:\/\/oxalic.net\/main\/email-2\/","title":{"rendered":""},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">CONTACT<\/h2>\n\n\n\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_count_0 wpdevart_forms_class_2 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\t\t\t\t\t\t\t\t\t<div class=\"wpdevart-sub-fields\">\r\n\t\r\n\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\t\t\t<label>Enquiry Type<\/label>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"wpdevart-sub-fields-inner\">\r\n\t\t\t\t\t\t\t\t\t<div class='wpdevart-select'><select name='label_10' class='form-control'>\t\t\t\t\t\t\t\t\t\t\t<!-- defualt options value will be equal to the $key in the loop -->\r\n\t\t\t\t\t\t\t\t\t\t\t<option General Enquiry selected >\r\n\t\t\t\t\t\t\t\t\t\t\tGeneral Enquiry\t\t\t\t\t\t\t\t\t\t\t<\/option>\t\t\t\t\t\t\t\t\t\t\t<!-- defualt options value will be equal to the $key in the loop -->\r\n\t\t\t\t\t\t\t\t\t\t\t<option Price Enquiry  >\r\n\t\t\t\t\t\t\t\t\t\t\tPrice Enquiry\t\t\t\t\t\t\t\t\t\t\t<\/option><\/select><\/div>\t\t\t\t\t\t\t\t\t<\/div><\/div>\r\n\t\t\t\t\t\t\t\t\t                                            <!--bfh-number -->\r\n                                            <div class=\"wpdevart-input-field \">\r\n                                                 \r\n                                                        <label>Name<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-11\"\r\n                                                            name=\"label_11\"   required                                                            value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"Enter Name\" \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>Telephone<\/label>\r\n                                                        \r\n                                                <div class=\"input-tel input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-12\"\r\n                                                            name=\"label_12\"   required                                                            value=\"\"  class=\"form-control phonenumber \" \r\n                                                            placeholder=\"Enter Telephone\" \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>Email<\/label>\r\n                                                        \r\n                                                <div class=\"input-email input-field-inner\">\r\n                                                                                                        <input  type=\"email\"  \r\n                                                            id =\"input-field-13\"\r\n                                                            name=\"label_13\"   required                                                            value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"Enter Email\" \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>Enquiry <\/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_14\" placeholder=\"Enquiry\"><\/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>4  + 6 = ? <\/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=\"Enter Value\" required \/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"recaptchaSumValue[]\" value=\"10\" \/>\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\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='Send Email' 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\" >Send Email<\/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 decoding=\"async\" src=\"https:\/\/oxalic.net\/main\/wp-content\/plugins\/contact-forms-builder-pro\/\/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\" class=\"frontend_form_messages\" 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\/\/\tdonot submit form on enter , allow enter button only for tex\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\t\t\t\t\t\/\/animation effect\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar wpda_form_delay_bettven_elemts=400;\r\n\t\t\t\t\t\t\t\t\tjQuery(\".wpdevart_forms_count_0\").wpdevart_form_animation_children(\"pulse\",wpda_form_delay_bettven_elemts);\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ do not use previous password saved in broswer for passowrd 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:\/\/oxalic.net\/main\/wp-admin\/admin-ajax.php\",        \/\/ override for form's 'action' attribute \r\n\t\t\t\t\t\t\t\t\/\/url:\"https:\/\/oxalic.net\/main\/wp-content\/plugins\/contact-forms-builder-pro\/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\t\t\t\t\t\tconsole.log($form)\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\tjQuery(\".notice-dismiss\").click(function(){\r\n\t\t\t\t\t\t\t\tself=this;\r\n\t\t\t\t\t\t\t\tjQuery(this).parent().parent().slideUp(\"normal\");\r\n\t\t\t\t\t\t\t\tsetTimeout(function(){jQuery(self).parent().parent().remove()},600)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\/*setTimeout(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\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\tjQuery(this).find(\".input-file \").each(function(){\r\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(this).find(\"input\").val(\"\");\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\tjQuery(this).find(\".file-upload-btn + span\").each(function() {\r\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(this).text(\"  \");\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\t\t\t\t\tgrecaptcha.reset();\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\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tjQuery(\"#wpdevart-forms-\"+formId).each(function(){\r\n\t\t\t\t\t\t\t\t\tjQuery(this).find(\".input-file \").each(function(){\r\n\t\t\t\t\t\t\t\t\t\tjQuery(this).find(\"input\").val(\"\");\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tjQuery(this).find(\".file-upload-btn + span\").each(function(){\r\n\t\t\t\t\t\t\t\t\t\tjQuery(this).text(\"  \");\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\t\t\t\t\t\tgrecaptcha.reset();\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\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CONTACT<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"footnotes":""},"class_list":["post-488","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/pages\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":12,"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/pages\/488\/revisions"}],"predecessor-version":[{"id":1640,"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/pages\/488\/revisions\/1640"}],"wp:attachment":[{"href":"https:\/\/oxalic.net\/main\/wp-json\/wp\/v2\/media?parent=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}