Explain how to submit form without a submit button.
A form data can be posted or submitted without the button in the following ways:
1. On OnClick event of a label in the form, a JavaScript function can be called to submit the form.
Example: document.form_name.submit()
2. Using a Hyperlink: On clicking the link, JavaScript function can be called.
Example: <a.href=” javascript:document.MyForm.submit();">
Explain how to submit form without a submit button in PHP.
A form can be submitted in various ways without using submit button.
Submitting a form by clicking a link
Submitting a form by selecting an option from drop down box with the invocation of onChange event
Using java script : document.form.submit();
Using header(“location:page.php”);