Home »

How can we submit a form without a submit button?

Question ListCategory: PHPHow can we submit a form without a submit button?
milleranthony7 author asked 10 years ago
1 Answers
jully882 author answered 8 years ago

The main idea behind this is to use Java script submit() function in order to submit the form without explicitly clicking any submit button.
You can attach the document.formname.submit() method to onclick, onchange events of different inputs and perform the form submission.

you can even built a timer function where you can automatically submit the form after xx seconds once the loading is done (can be seen in online test sites).

Please login or Register to Submit Answer