{"id":21,"date":"2023-09-28T21:53:49","date_gmt":"2023-09-28T21:53:49","guid":{"rendered":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/?page_id=21"},"modified":"2023-09-29T04:03:07","modified_gmt":"2023-09-29T04:03:07","slug":"contact","status":"publish","type":"page","link":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/contact\/","title":{"rendered":"Contact"},"content":{"rendered":"\n\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>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-2\"\r\n                                                            name=\"label_2\"   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>Telephone 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-3\"\r\n                                                            name=\"label_3\"   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                                            <!--bfh-number -->\r\n                                            <div class=\"wpdevart-input-field \">\r\n                                                 \r\n                                                        <label>Your message<\/label>\r\n                                                        \r\n                                                <div class=\"input-text input-field-inner\">\r\n                                                    \r\n                                                    <input  type=\"text\"  \r\n                                                            id =\"input-field-6\"\r\n                                                            name=\"label_6\"   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\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=\"1\" \/>  \r\n\t\t\t\t\t\t<!--<input type=\"submit\" value='Submit' 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\" >Submit<\/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:\/\/dr-ayed-sirine-medecin-dentistes.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_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\/\/\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_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:\/\/dr-ayed-sirine-medecin-dentistes.com\/wp-admin\/admin-ajax.php\",        \/\/ override for form's 'action' attribute \r\n\t\t\t\t\t\t\t\t\/\/url:\"https:\/\/dr-ayed-sirine-medecin-dentistes.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-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\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-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\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\n\n\t\t<div id=\"wpmapblock_4f2fadb1\" data-settings='{&quot;map_marker&quot;:[{&quot;lat&quot;:&quot;36.452367&quot;,&quot;lng&quot;:&quot;10.735526&quot;,&quot;title&quot;:&quot;Tunisie&quot;,&quot;content&quot;:&quot;Dr. Sirine Ayed Dentiste&quot;,&quot;iconType&quot;:&quot;default&quot;,&quot;customIconUrl&quot;:&quot;&quot;,&quot;customIconWidth&quot;:&quot;25&quot;,&quot;customIconHeight&quot;:&quot;40&quot;}],&quot;map_zoom&quot;:10,&quot;scroll_wheel_zoom&quot;:&quot;1&quot;,&quot;map_type&quot;:&quot;GM&quot;,&quot;center_index&quot;:0}' class=\"wpmapblockrender\" style=\"\n\t\t\twidth: 100%;\n\t\t\theight: 500px;\n\t\t\"><\/div>\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-21","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/pages\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":6,"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/pages\/21\/revisions"}],"predecessor-version":[{"id":770,"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/pages\/21\/revisions\/770"}],"wp:attachment":[{"href":"https:\/\/dr-ayed-sirine-medecin-dentistes.com\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}