in reply to Re^2: Link instead of Submit button?
in thread Link instead of Submit button?

In your example there is only one form. Use this piece. It should work.
print startform, hidden("_logout", 1),a({-href=>'#',-onClick=>"documen +t.forms[0].submit()"},"Submit"), endform;


use Perl;
Perl4Everything

Replies are listed 'Best First'.
Re^4: Link instead of Submit button?
by tel2 (Pilgrim) on Dec 17, 2010 at 21:18 UTC

    Thanks perl_lover.  That works.

    Although I'll probably go with Corion's non-JavaScript solution in this case, I was interested to see how your solution was done, lest a need for that kind of think comes up in future.

    Thanks.