Enter Key to submit Form

So I got a Form on a page with two input textboxes and a send button, which have to filled out to send them.
I want to let the enter key be also a way to send the form.

Read that post and you will find an answer…

https://www.wix.com/velo/forum/coding-with-velo/pressing-enter-key

Thats not my case. Thats with a search Bar and all All that stuff I Dont need

Thats not my case. Thats with a search Bar and all All that stuff I Dont need

You are sure? :grin:

export function xxxxxxxx_keyPress(event){
	if(event.key==="Enter"){
		console.log(event.key);
	}
	else{
		console.log("ELSE");
	}
}

I thought your question was about the → ENTER-KEY on the KEYBOARD, but maybe i missunderstood something…:wink:

Yeah doesnt work, as I expected

Please show your current (not working code).