Hi Juanfran,
You could create a hidden form field "check". Instead of using the normal form field embedding, you could have a <input> with type="hidden" and value="0" and id="check" and name="check".
Then, include some JavaScript like this:
window.onkeypress = function (e) {
if (e.charCode == 51) {
document.getElementById("check").value = 1;
document.forms[0].submit();
}
}
(charCode 51 is the number "3")
Then, when validating fields, check whether the form field has value 0, in which case "Next" was clicked. However, if it has value 1, then the above JavaScript was triggered because number 3 was entered.
Best,
Max