{"id":16,"date":"2016-12-19T14:43:17","date_gmt":"2016-12-19T14:43:17","guid":{"rendered":"http:\/\/localhost\/scoutps\/?page_id=16"},"modified":"2017-04-11T15:18:02","modified_gmt":"2017-04-11T15:18:02","slug":"%d8%a7%d8%aa%d8%b5%d9%84-%d8%a8%d9%86%d8%a7","status":"publish","type":"page","link":"https:\/\/scoutps.com\/?page_id=16","title":{"rendered":"\u0627\u062a\u0635\u0644 \u0628\u0646\u0627"},"content":{"rendered":"\t\r\n\t\r\n\t\t\t\t\t\t<form  name= \"wpdevart_frontend_form_1\" id='wpdevart-forms-1' 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>\u0627\u0644\u0623\u0633\u0645:<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-1\"\r\n                                                            name=\"label_1\"   required                                                            value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"\u0627\u0644\u0631\u062c\u0627\u0621 \u0643\u062a\u0627\u0628\u0629 \u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u062b\u0644\u0627\u062b\u064a\" \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>\u0627\u0644\u0639\u0646\u0648\u0627\u0646:<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-2\"\r\n                                                            name=\"label_2\"   required                                                            value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"\u064a\u0643\u0641\u064a \u0627\u0633\u0645 \u0627\u0644\u062f\u0648\u0644\u0629 \u0648\u0627\u0644\u0645\u062f\u064a\u0646\u0629\" \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>\u0627\u0644\u0647\u0627\u062a\u0641:<\/label>\r\n                                                        \r\n                                                <div class=\"input-tel input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-3\"\r\n                                                            name=\"label_3\"                                                               value=\"\"  class=\"form-control phonenumber \" \r\n                                                            placeholder=\"\u0627\u0644\u0631\u062c\u0627\u0621 \u0643\u062a\u0627\u0628\u0629 \u0627\u0644\u0647\u0627\u062a\u0641 \u0645\u0639 \u0627\u0644\u0645\u0641\u062a\u0627\u062d \u0627\u0644\u062f\u0648\u0644\u064a \u0644\u0644\u0628\u0644\u062f\" \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>\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0627\u0644\u0643\u062a\u0631\u0648\u0646\u064a:<\/label>\r\n                                                        \r\n                                                <div class=\"input-email input-field-inner\">\r\n                                                                                                        <input  type=\"email\"  \r\n                                                            id =\"input-field-4\"\r\n                                                            name=\"label_4\"   required                                                            value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"\u0627\u0644\u0631\u062c\u0627\u0621 \u0643\u062a\u0627\u0628\u0629 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0627\u0644\u0643\u062a\u0631\u0648\u0646\u064a\" \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>\u0627\u0644\u062c\u0647\u0629:<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-5\"\r\n                                                            name=\"label_5\"                                                               value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"\u0627\u0633\u0645 \u0627\u0644\u062c\u0645\u0639\u064a\u0629 \u0627\u0648 \u0627\u0644\u0645\u0646\u0638\u0645\u0629 \u0627\u0644\u062a\u064a \u062a\u062a\u0628\u0639 \u0644\u0647\u0627\" \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>\u0627\u0644\u062a\u0648\u0635\u064a\u0641:<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                                                                        <input  type=\"text\"  \r\n                                                            id =\"input-field-6\"\r\n                                                            name=\"label_6\"                                                               value=\"\"  class=\"form-control  \" \r\n                                                            placeholder=\"\u062a\u0648\u0635\u064a\u0641\u0643 \u062f\u0627\u062e\u0644 \u0647\u0630\u0647 \u0627\u0644\u062c\u0647\u0629 \" \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>\u0631\u0633\u0627\u0644\u062a\u0643: <\/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_7\" 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\r\n                       \r\n\t\t\t\t\t   \t\t\t\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"1\" \/>  \r\n\t\t\t\t\t\t<!--<input type=\"submit\" value='\u0627\u0631\u0633\u0627\u0644' id=\"btn_send_form_email_1\" 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_1\" >\u0627\u0631\u0633\u0627\u0644<\/button>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t  <span id=\"loader-icon-1\" style=\"display:none;\" class=\"form-loader\">\r\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/scoutps.com\/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_1\" 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\r\n\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_1']\").submit(function(e){\r\n\t\t\t\t\t\tjQuery(document).on(\"submit\", \"form[name='wpdevart_frontend_form_1']\", 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\":\"1\"};\r\n\t\t\t\t\t\t\tvar options = { \r\n\t\t\t\t\t\t\t\t\/\/target:'#frontend_form_messages_1',   \/\/ 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:\/\/scoutps.com\/wp-admin\/admin-ajax.php\",        \/\/ override for form's 'action' attribute \r\n\t\t\t\t\t\t\t\t\/\/url:\"https:\/\/scoutps.com\/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-1\").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_1\").text(\" \");\r\n\t\t\t\t\t\t\tjQuery(\"#frontend_form_messages_1\").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_1 .success_message1\").fadeout(); \r\n\t\t\t\t\t\t\t\tjQuery(\"#frontend_form_messages_1 .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-1\").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 = \"1\";\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-1')[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\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\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\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":{"footnotes":""},"class_list":["post-16","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/pages\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scoutps.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":2,"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/scoutps.com\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/scoutps.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}