I\'ve been trying various methods to get a form to submit when hitting the enter key. I know it works with an input field, but because this is going to be a comment, it nee
try it this way
I tested it, and it worked
I added only the parameter event to the function header
event