why we are using return statement in onsubmitted event code example Example: javascript submit form document.forms["myform"].submit();