I have a feedback form
, the last input being a textarea
.
Id like the enter/return/ 'go' key to send the form, is there a way to do this? (for mobile)
I'm currently detecting forms being sent with:
$('#feedback-form').on('keypress',function(e){
if(e.which === 13) {
checkFeedBackForm()
}
})
This works for the input type text inputs (name + email) currently
EDIT:
This currently works for desktop, however I would like it to submit on mobile too. Currently the 'go' button doesn't show up for mobile, only a 'return' button.