I notice there's a name but not an ID for the INPUT tags

Matt Horn <[EMAIL PROTECTED]> wrote :

> No
> &nbsp;Cf 5
> &nbsp;
> hmmm
> &nbsp;
> ok I'll try some other stuff 
> &nbsp;
> thanks
> &nbsp;
> &nbsp;
> 
>   ----- Original Message ----- 
>   From: 
>   Robertson-Ravo, Neil 
>   (RX) 
>   To: '[EMAIL PROTECTED]' 
>   
>   Sent: Tuesday, July 06, 2004 11:29 
>   AM
>   Subject: RE: [ cf-dev ] Belated Monday 
>   stupidness
>   
>   
>   It seems to be 
>   working for me (renamed page to formtest.cfm)?.
>   &nbsp;
>   &lt;form 
>   name="LoginForm" method="post" action="formtest.cfm" 
>   &gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;table border="0" align="center"&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td 
>   class="show"&gt;Username&amp;nbsp;:&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td &gt;&lt;input type="text" name="username" 
>   class="inputbox"&gt;&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td 
>   class="show"&gt;Password&amp;nbsp;:&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td &gt;&lt;input type="password" name="pass" 
>   class="inputbox"&gt;&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td &gt;&lt;input type="submit"&nbsp; class="inputbutton" 
>   value="login"&gt;&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;td &gt;&lt;input type="reset" value ="Clear" 
>   class="inputbutton"&gt;&lt;/td&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/table&gt;
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/form&gt;
>   &nbsp;
>   &nbsp;
>   &lt;cfif 
>   isdefined("form.pass") and IsStruct(form)&gt;
>   &nbsp;&nbsp; 
>   &lt;cfdump var="#form#"&gt;
>   &lt;/cfif&gt;
>   &nbsp;
>   Is this on 
>   CFMX?
>   &nbsp;
>   &nbsp;
>   &nbsp;
>   
>   
>   
>   
>   From: Matt Horn 
>   [mailto:[EMAIL PROTECTED] Sent: 06 July 2004 10:26To: [EMAIL PROTECTED]: [ cf-dev 
> ] Belated Monday 
>   stupidness
>   &nbsp;
>   
>   Hi
>   
>   &nbsp;
>   
>   &nbsp;I am tearing my hair out 
>   with this:
>   
>   &nbsp;
>   
>   I have a form that posts back to 
>   itself&nbsp; but it seems like there are no form variables being posted 
>   .
>   
>   &nbsp;
>   
>   the code below is on top of the 
>   page and this is the form
>   
>   &nbsp;
>   
>   can anyone see where I am 
>   bolloxing it up?
>   
>   &nbsp;
>   
>   thanks
>   
>   &nbsp;Matt
>   
>   &nbsp;
>   
>   &lt;form name="LoginForm" 
>   method="post" action="Login.cfm" &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;table border="0" align="center"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;td 
>   class="show"&gt;Username&amp;nbsp;:&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td 
>   &gt;&lt;input type="text" name="username" 
>   class="inputbox"&gt;&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;td 
>   class="show"&gt;Password&amp;nbsp;:&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td 
>   &gt;&lt;input type="password" name="pass" 
>   class="inputbox"&gt;&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;td &gt;&lt;input 
>   type="submit"&nbsp; class="inputbutton" 
>   value="login"&gt;&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td 
>   &gt;&lt;input type="reset" value ="Clear" 
>   class="inputbutton"&gt;&lt;/td&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/tr&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/table&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;/form&gt;
>   
>   &nbsp;
>   
>   &nbsp;
>   
>   &lt;cfif 
>   isdefined("form.pass")&gt;&nbsp;&lt;cfquery name="getdetails" 
>   datasource="#db#"&nbsp; dbtype="odbc"&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &nbsp;SELECT userId,productionhouseId from tbluser 
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where username='#form.username#' 
>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and password 
>   ='#form.pass#'&nbsp;&lt;/cfquery&gt;&nbsp; &nbsp;&lt;CFIF 
>   getdetails.recordcount GTE 1&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cflock 
>   scope="session" timeout="10"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cfset 
>   session.userId=getdetails.userID&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &lt;cfset 
>   
> session.productionhouseID=getdetails.productionhouseID&gt;&nbsp;&lt;/cflock&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>  
>   &lt;cflocation url="Add.cfm"&gt;&nbsp;&nbsp; 
>   &nbsp;&nbsp;&lt;CFELSE&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script 
>   language="JavaScript"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
>   alert('The username password combination you supplied is 
>   incorrect');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
>   &nbsp;&nbsp;&lt;/script&gt;&nbsp;&lt;/CFIF&gt;&nbsp;&lt;/cfif&gt;
>   
>   &nbsp;
>   
>   &nbsp;
>   
>   &nbsp;
>   
>   |\--------------------/|Matt 
>   HornWeb Applications DeveloperPh:+2782 424 3751W: http://www.matt-horn.orgE:[EMAIL 
> PROTECTED]|\--------------------/|
>   This e-mail is from Reed Exhibitions (Oriel House, 
>   26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of 
>   Reed Business, Registered in England, Number 678540. It contains information 
>   which is confidential and may also be privileged. It is for the exclusive use 
>   of the intended recipient(s). If you are not the intended recipient(s) please 
>   note that any form of distribution, copying or use of this communication or 
>   the information in it is strictly prohibited and may be unlawful. If you have 
>   received this communication in error please return it to the sender or call 
>   our switchboard on +44 (0) 20 89107910. The opinions expressed within this 
>   communication are not necessarily those expressed by Reed Exhibitions. Visit 
>   our website at http://www.reedexpo.com

Steve Powell
[EMAIL PROTECTED]
07971 583792





-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to