When you use the POST method, form fields are automatically passed to the
action page as form.field name. If you use the GET method, your form fields
will be passed as URL variables.
Dave Cahall
Vice President, Professional Services
Digitaris Technologies, Inc.
Office: 972.690.4131 ext 116
Mobil: 214.914.9947
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Passing INPUT text to variables?
How can I get the text I enter in the INPUT box passed to a variable once
the GO button is clicked?
<CFFORM ACTION="index.cfm" METHOD="POST" ENABLECAB="Yes"
NAME="form2">
<table width="168" cellpadding="0" cellspacing="0"
border="0">
<tr>
<td>
<CFINPUT TYPE="text" NAME="jumpto" VALUE="" SIZE="10"
MAXLENGTH="10"
CLASS="dirlinks">
</td>
<td align="right">
<INPUT TYPE="submit" VALUE="Go!" CLASS="dirlinks">
</td>
</tr>
</table>
</CFFORM>
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org