<form action="" onsubmit="return updateForm()" method="post">
<label for="anybodyInput">My request</label>
<input type="text" id="formGroupExampleInput" placeholder="request">
<input type="submit">
</div>
</form>
function updateForm(element){
console.log("anybody text");
return false;
}
function updateForm(event){
event.preventDefault();
}
<form action="" onsubmit="updateForm()" method="post">