By clicking Subscribe below, I am permitting Concert Realty Services Ltd. and its partners to contact me with promotional messages such as newsletters, announcements, press releases and event invitations regarding their products and services. I understand this may take the form of communication via email or telephone and consent to the collection, use and disclosure of the information submitted for the purposes disclosed on this page and for the purposes set out in Concert’s Privacy Policy. If I want to receive email communication, I must give explicit consent via the tick box located above. I may withdraw my consent at any time.
window.onload = function() { // Hides spam trap document.getElementById("are_you_simulated").style.display = "none";
// Hides Employer/Brokerage field at the start hideBrokerageEmployer(); }
var submitting = false; var agentField = document.getElementById("agent");
function hideBrokerageEmployer() { if (agentField === null) { return }; if (agentField.options[agentField.selectedIndex].text == "No") { document.getElementById("hidden-agent").style.display = "none"; } else { document.getElementById("hidden-agent").style.display = "table"; } }
// Show/Hides Brokerage/Employer field based on Yes/No selection. if (agentField) { document.getElementById("agent").onchange = function() { hideBrokerageEmployer(); } }
function submitRegistrationForm(element) { var form = document.querySelector("body#spark-registration-form form, form#spark-registration-form"); var missing = ""; var required = { contact_email: "Email" }; var customRequired = document.querySelectorAll("input:required, textarea:required, select:required"); var questionsRequired = {answers_6783: 'Where did you hear about us?', answers_12005: 'I confirm consent to the Terms of Registration'};
// Adds custom required inputs to the 'required' object for (var i = 0; i < customRequired.length; i++) { required[customRequired[i].id] = customRequired[i].parentNode.firstElementChild.innerHTML.replace("*", ""); } // Adds required question inputs to the 'required' object for (var key in questionsRequired) { required[key] = questionsRequired[key]; } // Iterates through required fields and adds any that have // not been populated to 'missing' list for (var key in required) { var elements = Array.from(document.querySelectorAll("[id^='"+ key + "']")); if (elements.length > 0) { var missing_field = true;
elements.forEach(function (el) { if ((el.length < 1) || (el && ((el.type == "checkbox" && el.checked) || (el.type == "radio" && el.checked) || ((el.type != "radio" && el.type != "checkbox") && el.value) || (document.getElementById(key + "_other_text") && document.getElementById(key + "_other_text").value)))) { missing_field = false; } }); if (missing_field) { missing += "- "+ required[key] + "rn" } } } // Tests email input value against RFC 5322 Official Standard Email Regex var email = document.getElementById("contact_email").value; if (!/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[x01-x08x0bx0cx0e-x1fx21x23-x5bx5d-x7f]|[x01-x09x0bx0cx0e-x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[x01-x08x0bx0cx0e-x1fx21-x5ax53-x7f]|[x01-x09x0bx0cx0e-x7f])+)])/.test(email)) { missing += "- Email is invalidrn"; } if (missing != "") { alert("The following fields are incomplete:rn"+ missing); return false; } // Prevents duplicate submissions if (submitting) { return false; } submitting = true // If you are hosting this form on your own site and have reCAPTCHA enabled, // ensure that this is populated with your own site key, as well as include // the following script before this code: //