{"id":10791,"date":"2018-09-06T07:20:44","date_gmt":"2018-09-06T07:20:44","guid":{"rendered":"https:\/\/education.hachette-antoine.com\/contact-us\/"},"modified":"2025-10-01T04:10:23","modified_gmt":"2025-10-01T04:10:23","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/education.hachette-antoine.com\/en\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"\n    <div class=\"container mx-auto max-w-screen-xl \">\n        <div class=\"flex flex-col md:flex-row md:space-x-16\">\n\n            <!-- Left Column: Company Contact Information -->\n            <div class=\"md:w-1\/2 mb-0 p-2 md:px-2.5 py-8 md:py-6.5  text-[#7A7A7A]\">\n                <div class=\"space-y-1 text-sm md:text-[15px]\" style=\"line-height: 1.7;\" id=\"contact-info\">\n                    <strong>Hachette Antoine S.A.L.<\/strong><br>Main Road, Mkalle<br>Street number 402<br>Librairie Antoine\/MMO building, 1st floor<br>Mkalles, Lebanon<br>Tel.: +961 1 697 310                <\/div>\n            <\/div>\n\n            <!-- Right Column: Contact Form -->\n            <div class=\"sm:w-full md:w-1\/2 p-12 md:-mt-17.5 mb-16 \" style=\"background-color: #dbdbdb;\">\n                \n<form id=\"contact-form\"\n    class=\"haedu-form\"\n    data-endpoint=\"\/wp-json\/haedu\/v1\/submit-form\"\n    data-form-action=\"contact\"\n    data-recipient=\"\" data-wp-nonce=\"c53131398d\">\n\n    <input type=\"hidden\" name=\"form_nonce\" value=\"c53131398d\">\n    <input type=\"hidden\" name=\"form_action\" value=\"contact\">\n    <input type=\"hidden\" name=\"recipient\" value=\"\">\n    <div class=\"mb-4\">\n    <label for=\"full-name\" class=\" block text-sm md:text-[15px] font-bold mb-1\">\n        FULL NAME    <\/label>\n\n                        <input\n                type=\"text\"\n                name=\"full-name\"\n                id=\"full-name\"\n                style=\"background-color: #eceeef;\"\n                value=\"\"\n                placeholder=\"Full Name\"\n                class=\"mt-1 block w-full border-gray-300text-[15px] p-2.5 border\">\n            <\/div><div class=\"mb-4\">\n    <label for=\"email\" class=\" block text-sm md:text-[15px] font-bold mb-1\">\n        EMAIL    <\/label>\n\n                        <input\n                type=\"email\"\n                name=\"email\"\n                id=\"email\"\n                style=\"background-color: #eceeef;\"\n                value=\"\"\n                placeholder=\"E-mail\"\n                class=\"mt-1 block w-full border-gray-300text-[15px] p-2.5 border\">\n            <\/div><div class=\"mb-4\">\n    <label for=\"you-wish-to\" class=\" block text-sm md:text-[15px] font-bold mb-1\">\n        YOU WISH TO    <\/label>\n\n            <select\n            name=\"you-wish-to\"\n            id=\"you-wish-to\"\n            style=\"background-color: #eceeef;\"\n            class=\"mt-1 block w-full border-gray-300 text-[15px] p-3 border\">\n                                                <option value=\"marketing.scolaire@hachette-antoine.com\" >\n                        ASK A QUESTION                    <\/option>\n                                                                <option value=\"carole.lahoud@hachette-antoine.com\" >\n                        Request a sample                    <\/option>\n                                                                <option value=\"marketing.scolaire@hachette-antoine.com\" >\n                        Submit a school \/ extracurricular project                    <\/option>\n                                                                <option value=\"marketing.scolaire@hachette-antoine.com\" >\n                        Send a manuscript                    <\/option>\n                                                                <option value=\"info@hachette-antoine.com\" >\n                        Submit your CV                    <\/option>\n                                                                <option value=\"marketing.scolaire@hachette-antoine.com\" >\n                        Other request                    <\/option>\n                                    <\/select>\n    <\/div><div class=\"mb-4\">\n    <label for=\"message\" class=\" block text-sm md:text-[15px] font-bold mb-1\">\n        MESSAGE    <\/label>\n\n                        <textarea\n                name=\"message\"\n                id=\"message\"\n                style=\"background-color: #eceeef;\"\n                placeholder=\"Message\"\n                class=\"mt-1 block w-full border-gray-300 text-[15px] p-3 border\"\n                rows=\"3\"><\/textarea>\n            <\/div>    <div>\n        <button type=\"submit\"\n            style=\"background-color:#007dba\"\n            class=\"w-full text-white py-2 transition duration-300\">\n            Send        <\/button>\n    <\/div>\n\n<\/form>\n\n<script>\n    ;\n    (function() {\n        const form = document.getElementById('contact-form');\n        if (!form) return;\n\n        \/\/ Keep hidden recipient input in sync with selected reason (progressive enhancement)\n        const reasonSelect = form.querySelector('select[name=\"vous-souhaitez\"], [name=\"vous-souhaitez\"]');\n        const recipientInput = form.querySelector('input[name=\"recipient\"]');\n        if (reasonSelect && recipientInput) {\n            \/\/ initialize\n            recipientInput.value = reasonSelect.value || recipientInput.value || '';\n            reasonSelect.addEventListener('change', function() {\n                recipientInput.value = reasonSelect.value || '';\n            });\n        }\n\n        form.addEventListener('submit', function(e) {\n            e.preventDefault();\n            const endpoint = form.dataset.endpoint || '\/wp-json\/haedu\/v1\/submit-form';\n            const formAction = form.dataset.formAction || form.querySelector('input[name=\"form_action\"]')?.value || 'contact';\n            \/\/ Determine recipient: if contact form, use selected reason's value (which is configured to be the target email)\n            let recipient = '';\n            if (formAction === 'contact') {\n                const sel = form.querySelector('select[name=\"vous-souhaitez\"], [name=\"vous-souhaitez\"]');\n                recipient = sel ? sel.value || '' : '';\n            } else {\n                recipient = form.dataset.recipient || form.querySelector('input[name=\"recipient\"]')?.value || '';\n            }\n            \/\/ prefer the server-provided nonce in data attribute for header\n            const nonce = form.dataset.wpNonce || form.querySelector('input[name=\"form_nonce\"]')?.value || form.querySelector('input[name=\"nonce\"]')?.value || '';\n\n            \/\/ collect fields by looking for inputs inside the form with name or data-name\n            const fields = [];\n            Array.from(form.querySelectorAll('input, textarea, select')).forEach(function(el) {\n                const name = el.getAttribute('name') || el.dataset.name || el.id || null;\n                if (!name) return;\n                if (name === 'nonce' || name === 'form_action' || name === 'recipient' || name === 'form_nonce') return;\n                fields.push({\n                    name: name,\n                    label: el.getAttribute('aria-label') || el.placeholder || name,\n                    value: el.value\n                });\n            });\n\n            const payload = {\n                form_nonce: nonce,\n                form_action: formAction,\n                recipient: recipient,\n                fields: fields,\n            };\n\n            \/\/ Include reason_map (if present) so the REST handler can use editor-configured mappings.\n            const reasonMapJson = form.dataset.reasonMap || form.querySelector('input[name=\"reason_map\"]')?.value || '';\n            if (reasonMapJson) {\n                payload.reason_map = reasonMapJson;\n            }\n\n            fetch(endpoint, {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'application\/json',\n                    'X-WP-Nonce': nonce\n                },\n                body: JSON.stringify(payload),\n                credentials: 'same-origin'\n            }).then(function(res) {\n                return res.json().catch(function() {\n                    return {\n                        success: false,\n                        message: 'Invalid JSON response'\n                    };\n                });\n            }).then(function(data) {\n                if (data && data.success) {\n                    alert('Message sent successfully.');\n                    form.reset();\n                } else {\n                    alert('Send failed: ' + (data && data.message ? data.message : 'unknown'));\n                }\n            }).catch(function(err) {\n                alert('Send error: ' + err.message);\n            });\n        });\n    })();\n<\/script>            <\/div>\n        <\/div>\n    <\/div>","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":""},"pagetype":[],"class_list":["post-10791","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Contact Us - Hachette Antoine Education<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/education.hachette-antoine.com\/en\/contact-us\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Contact Us - Hachette Antoine Education\" \/>\n<meta property=\"og:url\" content=\"https:\/\/education.hachette-antoine.com\/en\/contact-us\/\" \/>\n<meta property=\"og:site_name\" content=\"Hachette Antoine Education\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-01T04:10:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/contact-us\\\/\",\"url\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/contact-us\\\/\",\"name\":\"Contact Us - Hachette Antoine Education\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#website\"},\"datePublished\":\"2018-09-06T07:20:44+00:00\",\"dateModified\":\"2025-10-01T04:10:23+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/contact-us\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/\",\"name\":\"Hachette Antoine Education\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#organization\",\"name\":\"Hachette Antoine Education\",\"url\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/education.hachette-antoine.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/HAEd2.svg\",\"contentUrl\":\"https:\\\/\\\/education.hachette-antoine.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/HAEd2.svg\",\"caption\":\"Hachette Antoine Education\"},\"image\":{\"@id\":\"https:\\\/\\\/education.hachette-antoine.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Contact Us - Hachette Antoine Education","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:\/\/education.hachette-antoine.com\/en\/contact-us\/","og_locale":"en_US","og_type":"article","og_title":"Contact Us - Hachette Antoine Education","og_url":"https:\/\/education.hachette-antoine.com\/en\/contact-us\/","og_site_name":"Hachette Antoine Education","article_modified_time":"2025-10-01T04:10:23+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/education.hachette-antoine.com\/en\/contact-us\/","url":"https:\/\/education.hachette-antoine.com\/en\/contact-us\/","name":"Contact Us - Hachette Antoine Education","isPartOf":{"@id":"https:\/\/education.hachette-antoine.com\/en\/#website"},"datePublished":"2018-09-06T07:20:44+00:00","dateModified":"2025-10-01T04:10:23+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/education.hachette-antoine.com\/en\/contact-us\/"]}]},{"@type":"WebSite","@id":"https:\/\/education.hachette-antoine.com\/en\/#website","url":"https:\/\/education.hachette-antoine.com\/en\/","name":"Hachette Antoine Education","description":"","publisher":{"@id":"https:\/\/education.hachette-antoine.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/education.hachette-antoine.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/education.hachette-antoine.com\/en\/#organization","name":"Hachette Antoine Education","url":"https:\/\/education.hachette-antoine.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/education.hachette-antoine.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/education.hachette-antoine.com\/wp-content\/uploads\/2019\/08\/HAEd2.svg","contentUrl":"https:\/\/education.hachette-antoine.com\/wp-content\/uploads\/2019\/08\/HAEd2.svg","caption":"Hachette Antoine Education"},"image":{"@id":"https:\/\/education.hachette-antoine.com\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/pages\/10791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/comments?post=10791"}],"version-history":[{"count":3,"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/pages\/10791\/revisions"}],"predecessor-version":[{"id":18189,"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/pages\/10791\/revisions\/18189"}],"wp:attachment":[{"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/media?parent=10791"}],"wp:term":[{"taxonomy":"pagetype","embeddable":true,"href":"https:\/\/education.hachette-antoine.com\/en\/wp-json\/wp\/v2\/pagetype?post=10791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}