get all form data value code example
Example: js get all data in form
document.addEventListener('submit', function (event) {
let fd = new FormData(event.target);
})
document.addEventListener('submit', function (event) {
let fd = new FormData(event.target);
})