Well, first, a URL link has nothing to do with a FORM. Form’s are POSTED, not redirected by a URL link.
Why change a working FORM into a link. Link’s can not pass data unless you use them with arguments something like: www.xyz.com/index.php?argument1=1, arg2=939,etc= …
Not sure what you are attempting to do by removing the form and inserting a link? What are you trying to accomplish? Perhaps a little more info and we can solve it for you.
But, in case you really wanted it that way, you are calling a Javascript to post your form from a link. A backwards way to to it. And, you are using the same calling script to use this Javascipt. It other words, you are calling the same script with no arguments. If you want something passed to the submit in the Javascript, you can do this by passing it inside the call.
Instead of =submitform() use =submitform(this.value) and in the function submitform(value) and
use the value for whatever. Submitting from the same link will just pass the last value not the one that
is attached to the link.
Still do not understand why this would be useful… Perhaps you are planning some validation that you have not discussed… Anyway, hope this helps…