function submit () {
let data = validateFormData(getFormData());
let warning = document.getElementById("warning");
if (data == false) {
warning.innerHTML= "Periksa form anda sekali lagi";
}else{
warning.innerHTML = "";
}
}Preformatted text