I know its very late to reply this question, but adding the answer so might help any one else.
Let say we want to submit the form as soon as the page get loaded.
I have marked my changes as bold...
Type: Posts; User: mazhar
Search: Search took 0.01 seconds.
Results 1 to 1 of 1