Is it possible to trigger a function when the Enter key is pressed in the character field.?
The onchange function is not working as inside the function it returns another form.
so is there any Javascript code for that?
You use addEventListener 'keypress' then check if the keycode is the Enter key
document.getElementById('inputField').addEventListener('keypress', function(event) {
if (event.keyCode == 13) {
//Run a function here
}
});