I am using a Speech-to-Text software to type in a field, since there is no screen or mouse or keyboard, I need to send this form after 3 seconds of no typing (actually talking) in this field but the field shouldn’t be empty
I am using PHP but I guess the solution is JavaScript or jQuery, I dont know much in these two so I’d appreciate if you could explain how to use it too.
DEMO
UPDATE:
As @Tim Down has said,
So that would be better if you use keyup instead of keypress, then your timer clear works for any key.