I have a form that detects keypresses to validate whether the user has entered any data into the input boxes (I can't change the form, I'm just accessing it).
I wrote an app that automatically changes the value property of an input box with the appropriate data, however, the form always fails to submit because there weren't any keypresses when the input box was selected and it wants me to "enter data" into the input box.
Is there a way that I can select the input box, enter a random character via a "keypress" right before I change the value?
I need a completely Javascript solution, I've seen some solutions that might work in JQuery, but I'm unable to load that library for this particular project.