Submit a form using Shift + Enter [duplicate]

You can use a tiny jQuery-Script.

$("body").keyup(function(event)
{
    if (event.keyCode == 13 && event.shiftKey)
    {
        $("#form_id").submit();
    }
});

Leave a Comment