@import url(https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;700); @import url(https://fonts.googleapis.com/css2?family=Inter:wght@600); .embed-sebari { max-width: 500px; margin-right: auto; margin-left: auto; background-color: transparent; font-family: 'Mulish', sans-serif; } .embed-sebari form { width: 100%; display: flex; flex-direction: column; row-gap: 16px; } .embed-sebari .title { margin: 0 0 10px 0; font-family: 'Inter', sans-serif; font-size: 25px; text-align: center; line-height: 150%; } .embed-sebari .description { margin: 0 0 32px 0; font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 14px; text-align: center; line-height: 150%; } .embed-sebari .label { color: #1D2038; font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 16px; line-height: 150%; margin: 0 0 5px 0; } .embed-sebari .input { color: black; font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 16px; border-radius: 8px; line-height: 150%; background-color: transparent; border: 1px solid #BEBEBE; padding: 12px 15px; width: 100%; box-sizing: border-box; outline: 0; } .embed-sebari .input:focus { border:1px solid #036596 } .embed-sebari .radio-wrapper { display: flex; flex-wrap: wrap; row-gap: 10px; column-gap: 32px; } .embed-sebari .radio-label { color: #1D2038; font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 14px; line-height: 150%; } .embed-sebari textarea { height: 150px; line-height: 150%; resize: vertical; } .embed-sebari [type="submit"] { font-family: 'Mulish', sans-serif; font-weight: 500; font-size: 16px; line-height: 150%; width: 100%; background:#036596; border-radius: 5px; border: 0; cursor: pointer; color: white; padding: 12px 0; } .embed-sebari [type="submit"]:hover { background:#05608E; } .embed-sebari .selectBox { position: relative; } .embed-sebari .selectBox select { width: 100%; } .embed-sebari .overSelect { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } .embed-sebari .checkboxes { display: none; border: 1px #BEBEBE solid; width: 100%; border-radius: 8px; } .embed-sebari .checkboxes label { display: block; margin: 10px; }

Let's get started

Kami siap membantu dan menjawab semua pertanyaan Anda.

Nama

Nomor Whatsapp

Perusahaan

Kebutuhan Jasa

Pilih
/* eslint-disable no-unused-vars */ document.querySelectorAll(".embed-sebari .selectBox").forEach((item, index) => { item.setAttribute("onClick", `showCheckboxesEmbedSebari(${index + 1})`); }); document.querySelectorAll(".embed-sebari .checkboxes").forEach((checkbox, index) => { checkbox.querySelectorAll("input[type=checkbox]").forEach((item) => { item.setAttribute("onChange", `onChangeCheckboxEmbedSebari(${index + 1})`); }); }); let expanded_checkbox_embed_sebari = false; function showCheckboxesEmbedSebari(index) { let checkboxes = document.querySelector(`.embed-sebari #checkboxes_${index}`); if (!expanded_checkbox_embed_sebari) { checkboxes.style.display = "block"; expanded_checkbox_embed_sebari = true; } else { checkboxes.style.display = "none"; expanded_checkbox_embed_sebari = false; } } function onChangeCheckboxEmbedSebari(index) { const checked = document.querySelectorAll(`.embed-sebari #checkboxes_${index} input[type=checkbox]:checked`); let checkedValue = []; if (checked.length === 0){checkedValue=["Pilih"]} else {checked.forEach((item) => {checkedValue.push(item.value)})} document.querySelector(`.embed-sebari .checkbox_valuestr_${index}`).value = checkedValue.join(";"); document.querySelector(`.embed-sebari #selectBox_${index} select.input option`).innerHTML = checkedValue.join(", "); } /* eslint-disable no-unused-vars */ document.querySelector(".embed-sebari button[type=submit]").setAttribute("onClick", "validateCheckboxEmbedSebari()"); function validateCheckboxEmbedSebari() { const required = document.querySelectorAll('.embed-sebari .checkbox-wrapper[required]'); for (let i = 0; i < required.length; i++){ const input = required[i].querySelector('.embed-sebari select.input'); const checked = required[i].querySelectorAll('.embed-sebari .checkboxes input[type=checkbox]:checked'); if (checked.length === 0) { input.setCustomValidity("Please select one of these options."); } else { input.setCustomValidity(""); } input.reportValidity(); } }

Need help? Call our customer service at (+62821 1793 2648)

Kontak

+62821 1793 2648

Head Office

Jl. Rajawali Barat No.77A, Kota Bandung, 40184

Branch Office

Jl. Kasuari No.9, Kota Bandung, 40184

Jl. Aki Padma Utara No.11, Babakan Ciparay, Kota Bandung, Jawa Barat