Sign up today

Required fields
`; } targetInputContainer.insertAdjacentHTML("beforeend",`
${selectControl}
`); } function getOptionsetValuesAsString(cboxesContainerSelector) { const checkboxesContainer = document.querySelector(cboxesContainerSelector); if (!checkboxesContainer) { return; } let res = ""; checkboxesContainer.querySelectorAll("input[type='checkbox']:checked").forEach(c => res += c.value + '; '); if (res.length) { res = res.slice(0, -2); } return res; } function onSubmitButtonClick(e) { const areasOfExpFieldId = "#mssh_areasofexpertise"; const suppTimeZonesFieldId = "#mssh_supportedtimezones"; const areasOfExpertiseStr = getOptionsetValuesAsString(areasOfExpFieldId + "_checkboxes"); const supportedTimeZonesStr = getOptionsetValuesAsString(suppTimeZonesFieldId + "_checkboxes"); document.querySelector(areasOfExpFieldId).value = areasOfExpertiseStr; document.querySelector(suppTimeZonesFieldId).value = supportedTimeZonesStr; if (isFormValid()) { document.getElementById("InsertButton").click(); } } (function setBodyStyle(){ let bodyStyle= "div[id*='ValidationSummaryEntityFormControl']{margin-left: 28px;margin-right: 28px;} .form-control{color: #323130;} .field-label {font-weight:600; font-size:14px; color: #323130;} #btnCloseMessage{display:none;}"; let head = $('head')[0]; let style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(bodyStyle)); head.appendChild(style); })();