Re: Image as submit button shows parameters in URL

by "Rossi Designs" <webmaster(at)rossidesigns.net>

 Date:  Tue, 8 Aug 2000 12:53:45 -0400
 To:  <hwg-techniques(at)mail.hwg.org>,
<MEovino(at)Estes-Express.com>
 References:  express
  todo: View Thread, Original
add method="post" to your form tag. I though post was default, but it seems
your form is using method="get"

Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
Phone : (904) - 226-8979
URL : http://www.datadrivendesign.com
URL : http://www.rossidesigns.net
----- Original Message -----
From: <MEovino(at)Estes-Express.com>
To: <hwg-techniques(at)mail.hwg.org>
Sent: Tuesday, August 08, 2000 11:34 AM
Subject: Image as submit button shows parameters in URL


>
> I'm using the following tag
>
> <input type="image" src="login.gif" border="0" name="submit"
value="submit">
>
> To create an image that's a submit button for my form.  And it works fine,
> except that the field values are appended to the URL that displays in the
> browser's address bar after the form's submitted.  This is a problem,
> seeing as how I have people submitting a username and password.  The whole
> form is:
>
> <form
action="/cgi-bin/db2www/qsys.lib/exlagpl.lib/macros.file/qnp310wi.mbr/output
">
> <table cellpadding="0" cellspacing="0" border="0">
> <tr><td colspan="2"><font size="1" face="Arial">Log in to My
Estes</font></td></tr>
>
> <tr>
> <td><font size="1" face="Arial">Username</font></td>
> <td><input type="text" size="10" maxlength="10" name="QTUN"></td>
> </tr>
>
> <tr>
> <td><font size="1" face="Arial">Password</font></td>
> <td><input type="text" size="10" maxlength="10" name="QTPW"></td>
> <tr>
>
> <tr><td colspan="2"><input type="image" src="login.gif" border="0"
name="submit" value="submit"></td></tr>
> </table>
> </form>
>
> I'd rather not have those parameters show in the address line if at all
possible, and I don't want to use JavaScript.
>
> Thanks in advance!
> Mike E.
>
>
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA