How can I submit a form automatically If a particular condition is true. I am developing an application in PHP.
If a condition is true you can tell your program to execute these lines
document.getElementById(‘form3’).submit(); // SUBMIT FORM
Here form3 is the ID of that form which you want to submit automatically.