I was wondering if there is a way to know if an text input has been filled using JS
For example I have a basic text input :
<input type="text" name="textInput" id="form">
Here is the JS code I use to fill :
document.getElementById("form").value = "Some information";
And I'd like to know by any way if the input has been filled using JS to stop the sign-up for example. I have NO idea how to proceed.