Kirim formulir di Ctrl Enter
form.addEventListener("keydown", (event) => {
if ((event.keyCode == 10 || event.keyCode == 13) && event.ctrlKey) {
if (validateForm()) { // validation refer to if user's enter data is correct or not
alert("ALL fields are filled");
}
alert("Looks like you have not filled the form");
}
});
Jatin Sharma