{"id":934,"date":"2019-03-05T15:21:53","date_gmt":"2019-03-05T13:21:53","guid":{"rendered":"https:\/\/www.bpmremix.com\/?page_id=934"},"modified":"2020-06-29T11:35:22","modified_gmt":"2020-06-29T08:35:22","slug":"contest-submission","status":"publish","type":"page","link":"https:\/\/www.bpm-remix.com\/he\/contest-submission\/","title":{"rendered":"Contest Submission"},"content":{"rendered":"<p><!DOCTYPE html><br \/>\n<html><\/p>\n<p><head><br \/>\n     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0\"><br \/>\n    <meta charset=\"utf-8\"\/><br \/>\n\t<title>Submit Your Remix<\/title><\/p>\n<style>\nbody {<\/p>\n<p>}\ninput, select, textarea {\n\tpadding:2px;\n\tbackground-color: rgba(255, 255, 255, 0.75) !important;\n}\ninput::placeholder, select, textarea::placeholder {\n    color: #f03e62;\n}\ninput#phone::placeholder {\n    color: grey;\n}\n#desc {\n\tmargin-top: -1em;\n}\t\ninput:focus, select:focus, textarea:focus {\n\tbackground-color: rgba(255, 255, 255, 0.65) !important;\n}\nselect {\n\tdisplay:block;\n\tmargin-bottom:1.3em;\n}<\/p>\n<p>::-webkit-input-placeholder, -webkit-textarea-placeholder { \/* Chrome *\/\n  color: #e73059;\n}\n:-ms-input-placeholderm, -ms-textarea-placeholder  { \/* IE 10+ *\/\n  color: #e73059;\n}\n::-moz-placeholder { \/* Firefox 19+ *\/\n  color: #e73059;\n  opacity: 1;\n}\n:-moz-placeholder { \/* Firefox 4 - 18 *\/\n  color: #e73059;\n  opacity: 1;\n}\nform input[type=\"submit\"] {\nbackground-color: #fdaf17 !important;\n}\nform input[type=\"submit\"]:hover {\n    background-color: #f03e62 !important;\n}\nh1 {\n\twidth: 60%;\n    margin-bottom: -.5em;\n    text-align: center;\n    margin: 0 auto;\n}\n.intl-tel-input {\nmax-width:200px\n}\nlabel {\n\tdisplay:inline;\n}\n.sideBySide {\n\tdisplay: grid;\n    align-items: center;\n\tmin-width:50%;\n    min-height: 140px;\n}\n#oneOfTwo {\n\tfloat:left;\n}\n#twoOfTwo select{\n\t\/*margin-left: auto;*\/\n\tmax-width: 200px;\n\ttext-indent: 9px;\n    font-size: 13px;\n}\n#image {\n\tmargin-top:2em;\n    margin-bottom: -3em;\n\tmax-width:60%;\n}\nselect[disabled] {\n    color: white;\n    opacity: 0.2;\n}\n@media screen and (min-width:601px) {\n\t#formContainer {\n\t\twidth:70%;\nmax-width:900px;\n\t\tmargin:0 auto;\n\t\tborder:1px solid #353535;\n\t\tborder-radius:5px;\n\t\t\/*text-align:center;*\/\n\t\tpadding:1em;\n\t}\n}\n@media screen and (max-width: 600px) {\n\t#formContainer {\n\t\tmax-width:90%;\n\t\tmargin:0 auto;\n\t\tborder:1px solid #353535;\n\t\tborder-radius:5px;\n\t\ttext-align:center;\n\t\tpadding:1em;\n\t}\n}\nform {\n\tdisplay:block;\n\tmargin:0 auto;\n\tpadding:20px;\n}\n.required {\n\tfont-size: 0.8em;\n\tcolor:red;\n}\n.sticky-popup {\n\tdisplay:none;\n}\ninput[type=\"checkbox\"] {\n\tmargin-left:.8em;\n}\ninput[type=\"text\"], input[type=email], select {\n\tmax-width: 15em;\n}\nform input[type=\"submit\"] {\n\twidth:10em;\n}\ninput[type=text], input[type=email] {\n\tmargin-bottom:1.3em;\n\tcolor:#00a9b4 !important;\n}\n.intl-tel-input {\nmargin-bottom:1.3em;\n}\n.hideus {\n\tdisplay:none;\n}<\/p>\n<p>textarea#description {\n    width: 100%;\n    min-height: 4em;\n    margin: 0 0 1em 0;\n    padding: 5px;\n}\n.country-list {\n    color: #3d3d3d;\n}\n<\/style>\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/9.0.6\/css\/intlTelInput.css\"\/>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\"><\/script><br \/>\n<\/head><br \/>\n<body><\/p>\n<div id=\"formContainer\">\n<h1>\u05e9\u05dc\u05d7 \u05d0\u05ea \u05d4\u05e8\u05de\u05d9\u05e7\u05e1 \u05e9\u05dc\u05da<\/h1>\n<p><!-- https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLScz4kYlP4P4i4HQJi8hqHJsqBuk6qtMUJAGMZ1EK0H9nu2KDQ\/viewform?\n--><\/p>\n<form id=\"theForm\" action=\"https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSdhcM0gNkSleiTIAVAgBCNsedpxRr0UbCnCUwmDd82biWAumQ\/formResponse\" method=\"POST\" onsubmit=\"return false;\" data-trp-original-action=\"https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSdhcM0gNkSleiTIAVAgBCNsedpxRr0UbCnCUwmDd82biWAumQ\/formResponse\">\n<p id=\"desc\">\n<ul>\n<li>\u05d5\u05d3\u05d0 \u05db\u05d9 \u05db\u05dc \u05d4\u05e4\u05e8\u05d8\u05d9\u05dd \u05e9\u05dc\u05da \u05de\u05d5\u05d6\u05e0\u05d9\u05dd \u05d1\u05d0\u05d5\u05e4\u05df \u05de\u05d3\u05d5\u05d9\u05e7<\/li>\n<li>\u05d0\u05d9\u05df \u05dc\u05d4\u05d6\u05d9\u05df \u05de\u05d9\u05d3\u05e2 \u05e9\u05dc\u05d0 \u05e9\u05d9\u05d9\u05da \u05dc\u05da<\/li>\n<\/ul>\n<div id=\"oneOfTwo\" class=\"sideBySide\">\n\t<input  id=\"first_name\" maxlength=\"80\" name=\"first_name\" size=\"20\" type=\"text\" required placeholder=\"* \u05e9\u05dd \u05e4\u05e8\u05d8\u05d9\"\/><br \/>\n\t<input  id=\"last_name\" maxlength=\"80\" name=\"last_name\" size=\"20\" type=\"text\" required placeholder=\"\u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05d4\"\/><br \/>\n<input  id=\"idnumber\" maxlength=\"80\" name=\"idnumber\" size=\"20\" type=\"text\" required placeholder=\"* \u05de\u05e1\u05e4\u05e8 \u05d6\u05d4\u05d5\u05ea\"\/><br \/>\n\t<input  id=\"stage_name\" maxlength=\"120\" name=\"stage_name\" size=\"20\" type=\"text\" required placeholder=\"* \u05e9\u05dd \u05d1\u05de\u05d4\"\/>\n<\/div>\n<div id=\"twoOfTwo\" class=\"sideBySide\">\n\t<input  id=\"phone\" maxlength=\"80\" name=\"phone\" size=\"20\" type=\"text\" \/><!-- placeholder=\"* Phone\"  --><\/p>\n<p>\t<input  id=\"remix_url\" name=\"remix_url\" size=\"20\" type=\"text\" required placeholder=\"* \u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05e8\u05de\u05d9\u05e7\u05e1\" pattern=\"((https:\\\/\\\/)*|(http:\\\/\\\/)*)[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&#038;\/\/=]*)\" oninvalid =\"setCustomValidity('please enter a valid Soundcloud URL')\" oninput=\"setCustomValidity('')\"\/><br \/>\n\t<input  id=\"email\" name=\"email\" size=\"20\" type=\"email\" required placeholder=\"* Email address\"\/><br \/>\n<textarea id=\"description\" name=\"description\" required aria-required=\"true\" placeholder=\"\u05e1\u05e4\u05e8 \u05e7\u05e6\u05ea \u05e2\u05dc \u05d4\u05e8\u05de\u05d9\u05e7\u05e1 \u05e9\u05dc\u05da (\u05dc\u05de\u05e9\u05dc - \u05de\u05d4 \u05de\u05d9\u05d9\u05d7\u05d3 \u05d0\u05d5\u05ea\u05d5, \u05ea\u05d0\u05e8 \u05d0\u05ea \u05ea\u05d4\u05dc\u05d9\u05da \u05d4\u05d9\u05e6\u05d9\u05e8\u05d4, \u05d5\u05db\u05d5&#039;)\"><br \/>\n<\/textarea>\n\t<input type=\"hidden\" name=\"trp-form-language\" value=\"he\"\/><\/div>\n<div>\n<p id=\"agree\">\n\t<input  id=\"agree_cb\" name=\"agree_cb\" type=\"checkbox\" value=\"0\" required><br \/>\n\t<label for=\"agree_cb\">\u05d1\u05e9\u05dc\u05d9\u05d7\u05ea \u05d8\u05d5\u05e4\u05e1 \u05d6\u05d4 \u05d0\u05e0\u05d9 \u05de\u05e6\u05d4\u05d9\u05e8 \u05db\u05d9 \u05d0\u05e0\u05d9 \u05d4\u05d9\u05d5\u05e6\u05e8 \u05d4\u05de\u05e7\u05d5\u05e8\u05d9 \u05e9\u05dc \u05d4\u05e8\u05de\u05d9\u05e7\u05e1 \u05d5\u05db\u05d9 \u05d4\u05e8\u05de\u05d9\u05e7\u05e1 \u05dc\u05d0 \u05de\u05e4\u05e8 \u05db\u05dc \u05d6\u05db\u05d5\u05ea \u05e9\u05dc \u05e6\u05d3 \u05e9\u05dc\u05d9\u05e9\u05d9. <a id=\"tac_url\" href=\"#\" target=\"_blank\">\u05ea\u05e0\u05d0\u05d9 \u05d4\u05e9\u05ea\u05ea\u05e4\u05d5\u05ea \u05d1\u05ea\u05d7\u05e8\u05d5\u05ea<\/a><\/label>\n<\/div>\n<p id=\"submitcontainer\" style=\"text-align:center;\">\n<input type=\"submit\"  class=\"fusion-button button-flat fusion-button-square button-xlarge button-custom button-1\" name=\"submit\" value=\"\u05e9\u05dc\u05d7\"\/><\/p>\n<p><input type=\"hidden\" id=\"recipients\" name=\"recipients\"\/><br \/>\n<input type=\"hidden\" id=\"localization\" name=\"localization\" value=\"intl\"\/><br \/>\n<\/form>\n<\/div>\n<p><script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/10.0.2\/js\/intlTelInput.js\"><\/script><br \/>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/intl-tel-input\/10.0.2\/js\/utils.js\"><\/script><br \/>\n<script src=\"\/..\/..\/wp-includes\/bpm_intl-phone\/intl-phone.js\"><\/script><\/p>\n<p><script>\nlet phoneInput = document.querySelector(\"#phone\");<\/p>\n<p>var iti = intlTelInput(phoneInput, {initialCountry: \"il\"});<\/p>\n<p>function queryString(searchTerm) {\n\t\tvar fullURL = window.location.search.substring(1);\n\t\tvar URLvars = fullURL.split(\"&\");\n\t\tfor (var i=0;i<URLvars.length;i++) {\n\t\t\tvalues = URLvars[i].split(\"=\");\n\t\t\tif (values[0] == searchTerm) {\n\n\t\t\t\treturn values[1];\n\t\t\t}\n\t\t}\n\t}\nconst formFields = {\n\tfirst_name: \"entry.1235838358\",\n\tlast_name: \"entry.964371035\",\n\tphone: \"entry.842006994\",\n\tstage_name: \"entry.441066942\",\n\tremix_url: \"entry.337622618\",\n\tdescription: \"entry.759094537\",\n\temail: \"entry.1156071976\",\n\tidnumber: \"entry.1693309149\",\n\trecipients: \"entry.1153771343\",\n\tlocalization: \"entry.100758069\"\n\n},\nreturnUrl = 'thank-you-submission';\n\n$(document).ready(function(){\n\tvar recipients = decodeURIComponent(queryString('subrec'));\n\t$('#recipients').val(recipients);\n\t\n\t\/\/match formFields to field names\n\tObject.keys(formFields).forEach(function(item, index) {\n\t\tmatch = $('input, textarea').filter( \"[name='\" + item + \"']\" );\n\t\tif (match.length) {\n\t\t\t\/\/console.log(match.attr('name'));\n\t\t\tmatch.attr('name', formFields[item]);\n\t\t\t\/\/console.log(match.attr('name'));\n\t\t}\n\t});\n});\n\n$('#theForm').on('submit', function() {\nlet form = $('#theForm');\n\tif (form[0].checkValidity()) {\n\t    \n\t    \/\/include intl phone code\n\t    let phoneField = $('#phone'),\n\t        intlAreaCode = phoneField.attr('placeholder').substr(0, phoneField.attr('placeholder').indexOf(' '));\n        if (phoneField.val().includes(\"+\")) {\n            \n        } else {\n            phoneField.val(intlAreaCode + ' ' + phoneField.val());\n        }\n        \n\t\tform.find('input[type=checkbox]').remove();\n\n\t\t$.post(form.attr('action'), form.serialize());\n\t\twindow.location.href = returnUrl;\n\t} else {\n\t\treturn false;\n\t}\n});\n\nfunction valid() {\n\t$('.errMsg').remove();\n\tif ($('.CB_tags').find('input[type=checkbox]:checked').length < 1) {\n\t\t$('.CB_tags').find('.questionTitle').after('\n\n<p class=\"errMsg\">\u05d9\u05e9 \u05dc\u05d1\u05d7\u05d5\u05e8 \u05dc\u05e4\u05d7\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05d0\u05d7\u05ea<\/p>\n<p>');\n\t\treturn false;\n\t} else {\n\t\treturn true;\n\t}\n}<\/p>\n<p>\t\/\/img\n\tvar imageFromURL = queryString('img');\n\tif (imageFromURL) {\n\t\/\/$('<img id=\"image\" src='+'\"'+imageFromURL+'\"'+'>').insertAfter('#formTitle');\n\t$('#formContainer').css({\n\t\t\"background-repeat\":\"no-repeat\",\n\t\t\"background-size\":\"cover\",\n\t\t\/\/\"background-position\":\"0px -50%\",\n\t\t\"background-image\":\"linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url(\"+imageFromURL+\")\"\n\t});\n\t}<\/p>\n<p>\tvar tac_url = queryString('tac');\n\tif (tac_url.startsWith('https:\/\/')) {\n\t\t$('#tac_url').attr('href', tac_url);\n\t} else {\n\t\t$('#tac_url').attr('href', 'https:\/\/' + tac_url);\n\t}\n\t\/\/picklist colors\n\t$('select, input').each(function() {\n\t\t$(this).on(\"change keydown\", function(){\n\t\t\tif ($(this).val() != '') {\n\t\t\t\t$(this).attr(\"style\", \"color: #00a9b4 !important; background-color: #141414 !important\");<\/p>\n<p>\t\t\t} else {\n\t\t\t\t$(this).attr(\"style\", \"color: #f03e62\");<\/p>\n<p>\t\t\t}\n\t\t})\n\t});\n<\/script><br \/>\n<\/body><br \/>\n<\/html><\/p>","protected":false},"excerpt":{"rendered":"<p>Submit Your Remix Submit Your Remix Make sure your details are entered in accurately Do not use anyone&#8217;s information except your own By submitting this form, I acknowledge that I am the original creator of the remix, and that the remix does not violate any rights of a third party. Terms and Conditions<\/p>","protected":false},"author":2650,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"blank.php","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/pages\/934"}],"collection":[{"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/users\/2650"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/comments?post=934"}],"version-history":[{"count":33,"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/pages\/934\/revisions"}],"predecessor-version":[{"id":1149,"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/pages\/934\/revisions\/1149"}],"wp:attachment":[{"href":"https:\/\/www.bpm-remix.com\/he\/wp-json\/wp\/v2\/media?parent=934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}