{"id":42029,"date":"2024-10-03T16:47:33","date_gmt":"2024-10-03T08:47:33","guid":{"rendered":"https:\/\/flowtaipei.com\/?page_id=42029"},"modified":"2024-10-03T16:47:44","modified_gmt":"2024-10-03T08:47:44","slug":"artist-trip-info","status":"publish","type":"page","link":"https:\/\/flowtaipei.com\/en\/artist-trip-info\/","title":{"rendered":"Artist Trip Info"},"content":{"rendered":"<h1 style=\"text-align: center;\">Flow Taipei Events- Artist Trip Info<\/h1>\n<p style=\"text-align: center;\">\r\n\r\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery-confirm\/3.3.2\/jquery-confirm.min.css\">\r\n<link href=\"https:\/\/code.jquery.com\/ui\/1.11.4\/themes\/smoothness\/jquery-ui.css\" rel=\"stylesheet\" type=\"text\/css\">\r\n\r\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.6.0\/jquery.min.js\"><\/script>\r\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery-confirm\/3.3.4\/jquery-confirm.min.js\"\r\n        integrity=\"sha512-zP5W8791v1A6FToy+viyoyUUyjCzx+4K8XZCKzW28AnCoepPNIXecxh9mvGuy3Rt78OzEsU+VCvcObwAMvBAww==\"\r\n        crossOrigin=\"anonymous\" referrerpolicy=\"no-referrer\"><\/script>\r\n\r\n<script src=\"https:\/\/code.jquery.com\/ui\/1.12.1\/jquery-ui.js\"><\/script>\r\n\r\n\r\n<link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.0.2\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\"\r\n      integrity=\"sha384-EVSTQN3\/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossOrigin=\"anonymous\">\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.0.2\/dist\/js\/bootstrap.bundle.min.js\"\r\n        integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn\/tWtIaxVXM\"\r\n        crossOrigin=\"anonymous\"><\/script>    <link rel=\"stylesheet\" href=\"https:\/\/flowtaipei.com\/flow.css\">\r\n\r\n    <div class=\"flow_container_90_1000\">\r\n\r\n        <div class=\"flow_container_90_500_center\">\r\n            <div id=\"form_complete_holder\"><\/div>\r\n            <div id=\"form_holder\" style=\"display:block\">\r\n\r\n\r\n            <p class=\"flow_c\">\r\n                Hello!  Please help us to prepare for your trip to Taiwan by filling out this short form.\r\n                Let us know if you have any questions \ud83d\ude42\r\n\r\n                If you *never* gave us your passport details, please also fill out the <a href=\"https:\/\/flowtaipei.com\/en\/artist-info-request\/\" target=\"new\">Artist Info Request Form<\/a>\r\n                so we have all the details to arrange your work permit and accommodation.<br>\r\n                A link will be shown after completing this form.\r\n\r\n            <\/p> <br>\r\n                <form id=\"artist_trip_info_form\" name=\"artist_trip_info_form\" action=\"registration_processing.php\" method=\"post\">\r\n\r\n        <label for=\"email\" class=\"flow_input_label required\">Email<\/label><br>\r\n        <input type=\"email\" id=\"email\" class=\"flow_input_text\" placeholder=\"Email\" required=\"required\"><br>\r\n        <label for=\"first_name\" class=\"flow_input_label required\">First Name (on your passport)<\/label><br>\r\n        <input type=\"text\" id=\"first_name\" class=\"flow_input_text\" placeholder=\"First Name\"  required=\"required\"><br>\r\n\r\n        <label for=\"last_name\" class=\"flow_input_label required\">Last Name (on your passport)<\/label><br>\r\n        <input type=\"text\" id=\"last_name\" class=\"flow_input_text\" placeholder=\"Last Name\"  required=\"required\"><br> <br>\r\n\r\n                    <h3 class=\"flow_c\">Flights<\/h3>\r\n\r\n                    <p class=\"flow_c\" style=\"color:blue;\">\r\n                        We want you to be comfortable and don't expect you to take extra long flights with many stops to save a little money. <br> <br>\r\n\r\n                        We are OK with arranging artist flights.  However, we *prefer* to allow the artists to arrange their own flights and we reimburse via Wise.  We reimburse within 5 days. The benefits, as we see them:\r\n                    <\/p>\r\n                    <ul class=\"flow_c\">\r\n                        <li>You don't need to communicate as much with us about the tickets, and you can get the flights that work best for you. We only work with people that we trust to choose flights that are a reasonable value.<\/li> <br>\r\n                        <li>We won't accidentally spell your name wrong or make some other stupid mistake when buying your tickets<\/li> <br>\r\n                        <li>You get credit card rewards and make sure you have your frequent flier number attached<\/li> <br>\r\n                        <li>If any changes need to be made on the ticket, it's easier for you to make them directly, and you don't need to wait to communicate with us<\/li> <br>\r\n                        <li>If part of a tour, we don't need to make message groups with other organizers and try to collect money from them or figure out how to pay them<\/li> <br>\r\n                    <\/ul>\r\n                    <br>\r\n\r\n        <fieldset id=\"radioset_arrange_flights\" class=\"flow_radio_group\">\r\n            <span class=\"flow_input_label  required\">How do you prefer to arrange flights?<\/span>\r\n            <table class=\"flow_table_1000\">\r\n                <tr class=\"flow_l\">\r\n\r\n                    <td><input type=\"radio\" id=\"arrange_flights_flow\" name=\"arrange_flights\" value=\"artist_arranges_and_flow_reimburses\" required=\"required\"><\/td>\r\n                    <td><label for=\"arrange_flights_flow\">You book your own flights <br>(confirm with us first) and send us the receipt. <br>Flow reimburses you within 5 business days through Wise<\/label><\/td>\r\n\r\n                <\/tr>\r\n                <br>\r\n                <tr class=\"flow_l\">\r\n                    <td><input type=\"radio\" id=\"arrange_flights_artist\" name=\"arrange_flights\" value=\"flow_arranges\" required=\"required\"><\/td>\r\n                    <td><label for=\"arrange_flights_artist\">Flow books\/arranges your flights<\/label><\/td>\r\n                <\/tr>\r\n                <br>\r\n                <tr class=\"flow_l\">\r\n                    <td><input type=\"radio\" id=\"arrange_flights_none\" name=\"arrange_flights\" value=\"none\" required=\"required\"><\/td>\r\n                    <td><label for=\"arrange_flights_none\">N\/A or Flow is not involved with your flights<\/label><\/td>\r\n                <\/tr>\r\n            <\/table>\r\n\r\n        <\/fieldset>\r\n\r\n\r\n\r\n        <label for=\"fly_from\" class=\"flow_input_label required\">Where will you fly FROM to arrive in Taiwan?<\/label><br>\r\n        <input type=\"text\" id=\"fly_from\" class=\"flow_input_text\" placeholder=\"flying to Taiwan from...\"><br> <br>\r\n\r\n        <label for=\"fly_to\" class=\"flow_input_label required\">Where will you fly TO when you depart Taiwan?<\/label><br>\r\n        <input type=\"text\" id=\"fly_to\" class=\"flow_input_text\" placeholder=\"after leaving Taiwan, flying to...\"><br> <br>\r\n\r\n        <label for=\"arrival_date\" class=\"flow_input_label  required\">What date do you plan to arrive in Taiwan?<\/label><br>\r\n        <input type=\"text\" id=\"arrival_date\" class=\"flow_input_text hasDatePicker\" placeholder=\"Arrival Date\" readonly required><br>\r\n\r\n        <label for=\"departure_date\" class=\"flow_input_label  required\">What date do you plan to depart from Taiwan?<\/label><br>\r\n        <input type=\"text\" id=\"departure_date\" class=\"flow_input_text hasDatePicker\" placeholder=\"Departure Date\" readonly required><br>\r\n\r\n        <fieldset id=\"radioset_bringing_anyone\" class=\"flow_radio_group\">\r\n            <span class=\"flow_input_label  required\">Are you planning to bring anyone else that we have not hired? (Children, spouses, life partners, etc)<\/span><br> <br>\r\n\r\n            <div class=\"flow_l\">\r\n                <input type=\"radio\" id=\"bringing_anyone_no\" name=\"bringing_anyone\" value=\"no\" required=\"required\" onchange=\"bringing_anyone_changed(this.value);\">\r\n                <label for=\"bringing_anyone_no\">No<\/label>\r\n            <\/div>\r\n\r\n            <div class=\"flow_l\">\r\n                <input type=\"radio\" id=\"bringing_anyone_yes\" name=\"bringing_anyone\" value=\"yes\" required=\"required\" onchange=\"bringing_anyone_changed(this.value);\">\r\n                <label for=\"bringing_anyone_yes\">Yes<\/label>\r\n            <\/div>\r\n\r\n        <\/fieldset>\r\n\r\n        <div id=\"container_bringing_anyone_notes\" style=\"display:none;\">\r\n            <label for=\"bringing_anyone_notes\" class=\"flow_input_label required\">Who would you like to bring? (Please do not bring anyone else without confirming with us that we can accomodate them.)<\/label><br>\r\n            <input type=\"text\" id=\"bringing_anyone_notes\" class=\"flow_input_text\" placeholder=\"\"><br> <br>\r\n        <\/div>\r\n\r\n        <label for=\"final_notes\" class=\"flow_input_label\">Anything other questions\/notes\/requests\/reminders for us?<\/label><br>\r\n        <textarea id=\"final_notes\" class=\"flow_textarea\" placeholder=\"\"><\/textarea><br> <br>\r\n\r\n                <button type=\"submit\" id=\"submit\" class=\"flow_button\">Submit<\/button><br>\r\n\r\n    <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n        $(document).ready(function() {\r\n        $( \"#arrival_date\" ).datepicker({\r\n        minDate: 0,\r\n        maxDate: \"+2y\",\r\n        yearRange: '0:+2y',\r\n        changeMonth: true,\r\n        changeYear: true,\r\n        dateFormat : 'yy-mm-dd'\r\n        });\r\n\r\n        $( \"#departure_date\" ).datepicker({\r\n        minDate: 0,\r\n        maxDate: \"+2y\",\r\n        yearRange: '0:+2y',\r\n        changeMonth: true,\r\n        changeYear: true,\r\n        dateFormat : 'yy-mm-dd'\r\n        });\r\n\r\n        })\r\n\r\n        function bringing_anyone_changed(bringing_anyone){\r\n            if(bringing_anyone===\"yes\"){\r\n                document.getElementById('container_bringing_anyone_notes').style.display = 'block';\r\n                document.getElementById('bringing_anyone_notes').setAttribute('required','required');\r\n            }else{\r\n                document.getElementById('container_bringing_anyone_notes').style.display = 'none';\r\n                document.getElementById('bringing_anyone_notes').removeAttribute('required');\r\n            }\r\n        }\r\n\r\n\r\n\r\n        let form = document.getElementById(\"artist_trip_info_form\");\r\n        let confirm_dialog;\r\n\r\n        form.addEventListener(\"submit\", (e) => {\r\n        e.preventDefault();\r\n        let form_type=\"artist_trip_info\";\r\n\r\n        let email=document.getElementById(\"email\").value;\r\n        let first_name=document.getElementById(\"first_name\").value;\r\n        let last_name=document.getElementById(\"last_name\").value;\r\n        let bringing_anyone= document.querySelector('input[name=\"bringing_anyone\"]:checked').value\r\n\r\n        let bringing_anyone_notes=document.getElementById(\"bringing_anyone_notes\").value;\r\n\r\n        let arrange_flights= document.querySelector('input[name=\"arrange_flights\"]:checked').value\r\n\r\n        let fly_from=document.getElementById(\"fly_from\").value;\r\n        let fly_to=document.getElementById(\"fly_to\").value;\r\n\r\n        let arrival_date=$('#arrival_date').datepicker({ dateFormat: 'yyyy-mm-dd' }).val();\r\n        let departure_date=$('#departure_date').datepicker({ dateFormat: 'yyyy-mm-dd' }).val();\r\n        let final_notes=document.getElementById(\"final_notes\").value;\r\n\r\n\r\n        confirm_dialog= $.confirm({\r\n        title: 'Submitting',\r\n        content: 'Submitting, Please wait... <br> This will close and you will see a confirmation when it is done.',\r\n        boxWidth: '70%',\r\n        useBootstrap: false,\r\n        cancelButton: false, \/\/ hides the cancel button.\r\n        confirmButton: false, \/\/ hides the confirm button.\r\n        closeIcon: false, \/\/ hides the close icon.\r\n        autoClose: 'OK|30000',\r\n        buttons: {\r\n        OK: function (){\r\n\r\n        }\r\n        }\r\n        })\r\n\r\n\r\n        let ajaxdata = {\r\n        form_type               : form_type,\r\n        email                   : email,\r\n        first_name              : first_name,\r\n        last_name               : last_name,        \t  \t \t                                                              \t     arrange_flights         : arrange_flights,\r\n        fly_from                : fly_from,\r\n        fly_to                  : fly_to,\r\n        arrival_date            : arrival_date,\r\n        departure_date          : departure_date,        \t        \t\t\t     bringing_anyone         : bringing_anyone,\r\n        bringing_anyone_notes   : bringing_anyone_notes,\r\n        final_notes             : final_notes,\r\n        }\r\n\r\n        $.ajax({\r\n        url: 'https:\/\/flowtaipei.com\/php\/form_processing.php',\r\n        type: 'POST',\r\n        dataType: 'html',\r\n        data: ajaxdata,\r\n        success: function (data) {\r\n        confirm_dialog.close();\r\n\r\n        $('#form_complete_holder').html(data);\r\n        \/\/disabled for testing, re-enable after\r\n        document.getElementById(\"form_holder\").style.display=\"none\";\r\n        },\r\n        error: function (data, status, xhr) {\r\n        \/\/$('#BookingCostHolder').html(data);\r\n        },\r\n        });\r\n\r\n\r\n        });\r\n\r\n    <\/script>\r\n\r\n\r\n            <script>\r\n\r\n    async function UploadImage(image_type, object_id, base_name) {\r\n        let formData = new FormData();\r\n        let request_type=\"upload\";\r\n\r\n        let image_file = document.getElementById('image_file');\r\n\r\n        formData.append(\"image_file\", image_file.files[0]);\r\n        formData.append(\"image_type\", image_type);\r\n        formData.append(\"request_type\", request_type);\r\n        formData.append(\"object_id\", object_id);\r\n        formData.append(\"base_name\", base_name);\r\n\r\n\r\n        let upload_complete= await $.ajax({\r\n            url: 'https:\/\/flowtaipei.com\/php\/functions\/picture_upload.php',\r\n            type: 'POST',\r\n            data: formData,\r\n            processData: false,\r\n            contentType: false,\r\n            success: function (data) {\r\n                $('#image_url').val(data);\r\n            },\r\n            error: function (data, status, xhr) {\r\n                \/\/$('#BookingCostHolder').html(data);\r\n            },\r\n        });\r\n\r\n\r\n\r\n    \/\/    let response= await fetch('https:\/\/flowtaipei.com\/php\/functions\/picture_upload.php', {\r\n    \/\/        method: \"POST\",\r\n    \/\/        body: formData\r\n    \/\/    });\r\n\r\n    \/\/    $('#image_url').val(data);\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n    function scrollToTop() {\r\n        window.scrollTo(0, 0);\r\n    }\r\n\r\n    <\/script>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n","protected":false},"excerpt":{"rendered":"<p> [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"wf_page_folders":[],"class_list":["post-42029","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/pages\/42029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/comments?post=42029"}],"version-history":[{"count":2,"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/pages\/42029\/revisions"}],"predecessor-version":[{"id":42031,"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/pages\/42029\/revisions\/42031"}],"wp:attachment":[{"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/media?parent=42029"}],"wp:term":[{"taxonomy":"wf_page_folders","embeddable":true,"href":"https:\/\/flowtaipei.com\/en\/wp-json\/wp\/v2\/wf_page_folders?post=42029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}