Jump to content

How to submit a form without a submit button


madhukar_garg

Recommended Posts

place it somewhere in the form.

It's just a simple link with a javascript action to it. to change what you're using as the replacement to the button, just change what is between the <a></a>

 

change the 'formname' part in the onclick to whatever your form is called.

onclick="javascript:document.formname.submit();"

 

if you haven't named it, just put the name tag in the form part.. i.e:

<form name="myform" method="post" action="sendform.php">

 

 

EDIT: just caught your last post.. you can do it using javascript, but I'm not sure on the code.. sorry.

try posting in the javascript section

you should NOT remove a submit button in favour of a javascript link to submit a form...

 

ok have a submit button insside a <noscript> tag if you must but at the very least have one in there..

 

Why do you need to NOt have a submit button?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.