{"id":72,"date":"2025-10-11T20:16:41","date_gmt":"2025-10-12T00:16:41","guid":{"rendered":"https:\/\/amlkcomptabilite.com\/dev\/?page_id=72"},"modified":"2025-10-17T14:01:16","modified_gmt":"2025-10-17T18:01:16","slug":"envoyer-un-fichier","status":"publish","type":"page","link":"https:\/\/amlkcomptabilite.com\/en\/envoyer-un-fichier\/","title":{"rendered":"Send a file securely"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"72\" class=\"elementor elementor-72\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"has_eae_slider elementor-element elementor-element-e2fc249 e-flex e-con-boxed e-con e-parent\" data-eae-slider=\"53055\" data-id=\"e2fc249\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1c65c8 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"f1c65c8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Enter your information and select your files to send using the following form. They will be transmitted securely and confidentially to our team!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_eae_slider elementor-element elementor-element-d2d247c e-flex e-con-boxed e-con e-parent\" data-eae-slider=\"33097\" data-id=\"d2d247c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-266f5b1 elementor-widget elementor-widget-shortcode\" data-id=\"266f5b1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <form method=\"post\" enctype=\"multipart\/form-data\" action=\"\">\n        <p>\n            <label for=\"full_name\">Full Name:<\/label>\n            <input type=\"text\" name=\"full_name\" id=\"full_name\" required>\n        <\/p>\n        <p>\n            <label for=\"email\">E-mail:<\/label>\n            <input type=\"email\" name=\"email\" id=\"email\" required>\n        <\/p>\n        <p>\n        <label for=\"uploaded_files\">File to send:<\/label>\n            <input type=\"file\" name=\"uploaded_files[]\" id=\"uploaded_files\" multiple required style=\"display: none;\">\n            <!-- Styled button label -->\n            <label for=\"uploaded_files\" id=\"custom-button\" class=\"custom-button\">Browse<\/label>\n            <span id=\"file-name\">No file selected<\/span>\n        <\/p>\n\n        <!-- Add some CSS to style the label as a button -->\n        <style>\n            \/* Style the custom label to look like a button *\/\n            .custom-button {\n                display: inline-block;\n                padding: 8px 16px;\n                background-color: #007bff; \/* Blue background *\/\n                color: white; \/* White text *\/\n                font-size: 14px;\n                font-weight: bold;\n                border-radius: 4px;\n                cursor: pointer;\n                text-align: center;\n                text-decoration: none;\n                border: none;\n            }\n\n            .custom-button:hover {\n                background-color: #0056b3; \/* Darker blue on hover *\/\n            }\n\n            .custom-button:active {\n                background-color: #004085; \/* Even darker blue when clicked *\/\n            }\n\n            \/* Optional: Make the span that shows the file name look a bit nicer *\/\n            #file-name {\n                margin-left: 10px;\n                font-size: 14px;\n                color: #555;\n            }\n        <\/style>\n\n        <script>\n            \/\/ Update the displayed file name when a file is selected\n            document.getElementById('uploaded_files').addEventListener('change', function(event) {\n                const fileName = event.target.files.length > 0 \n                    ? Array.from(event.target.files).map(file => file.name).join(', ') \n                    : 'Aucun fichier s\u00e9lectionn\u00e9';\n                document.getElementById('file-name').textContent = fileName;\n            });\n        <\/script>\n        <p>\n            <input type=\"checkbox\" name=\"accept_terms\" id=\"accept_terms\" required>\n            <label for=\"accept_terms\">I agree to the transmission and collection of the above information.<\/label>\n        <\/p>\n\n        <!-- Honeypot Field -->\n        <p style=\"display: none;\">\n            <label for=\"honeypot\">Leave this field empty:<\/label>\n            <input type=\"text\" name=\"honeypot\" id=\"honeypot\" value=\"\">\n        <\/p>\n\n        <p>\n                    <\/p>\n        <input type=\"hidden\" id=\"file_upload_nonce\" name=\"file_upload_nonce\" value=\"6afc4ae578\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/72\" \/>        <p>\n            <button type=\"submit\">Send<\/button>\n        <\/p>\n    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Enter your information and select your files to send using the following form. They will be transmitted securely and confidentially to our team!<\/p>","protected":false},"author":1,"featured_media":327,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","footnotes":""},"class_list":["post-72","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/pages\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":31,"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/pages\/72\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/pages\/72\/revisions\/281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/media\/327"}],"wp:attachment":[{"href":"https:\/\/amlkcomptabilite.com\/en\/wp-json\/wp\/v2\/media?parent=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}