ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 5th, 2004, 02:50 PM
Panther893's Avatar
Panther893 Panther893 is offline
MostarDesigns.com
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2004
Posts: 808 Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 16 m 55 sec
Reputation Power: 56
Send a message via MSN to Panther893
Exclamation wierd.....

ok i have noooooo idea why this page is doing what its doing but its acting as if the method attributie of the form tag is not even there

here is my code cold fusion included...

the #type# value is defined before as a param with value of 0

Code:
<cfoutput>
<table width="700" border="0" cellspacing="0" cellpadding="2" class="style">
  <tr>
    <td bgcolor="efefef">Match Controll</td>
  </tr>
  <tr>
    <td>
	<cfif "#type#" is "2">
      <script language="Javascript">
      <cfif #FORM.laddersite# is 1>
	    window.location.href="index.cfm?pageid=ladderreport&type=unit";
      <cfelseif #FORM.laddersite# is 2>
	    window.location.href="index.cfm?pageid=ladderreport&type=alliance";
      <cfelseif #FORM.laddersite# is 3>
	    window.location.href="index.cfm?pageid=ladderreport&type=freelance";
      <cfelseif #FORM.laddersite# is 4>
	    window.location.href="index.cfm?pageid=ladderconfirm";
      <cfelseif #FORM.laddersite# is 5>
	    window.location.href="index.cfm?pageid=ladderscheduel";
      <cfelseif #FORM.laddersite# is 6>
	    window.location.href="index.cfm?pageid=laddervoid";
	  </cfif>
      </script>
	<cfelse>
	Using the list below, you may report a win, confirm a loss*, request that a match be voided or try and schedule a match with other players.
    <p></p>
    <em>*Please note that only one player from the winning side must report a Match, with one player from the losing side, confirming it.</em>    <FORM name="form">
    <form action="index.cfm?pageid=matchcontroll&type=2" method="post">
	<SELECT NAME="laddersite" SIZE="1">
	<option value="1">Report a Unit Match</option>
	<option value="2">Report a Unit Alliance Match</option>
	<option value="3">Report a Freelance Match</option>
	<option value="4">Confirm a Match</option>
	<option value="5">Schedule a Match</option>
	<option value="6">Request a Match Void</option>
    </SELECT>
	<p></p>
	<input type="submit" value="Next Step" name="submit">
    </form>
	</cfif>
	</td>
  </tr>
</table>
</cfoutput>

Reply With Quote
  #2  
Old December 5th, 2004, 03:15 PM
Panther893's Avatar
Panther893 Panther893 is offline
MostarDesigns.com
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2004
Posts: 808 Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level)Panther893 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 16 m 55 sec
Reputation Power: 56
Send a message via MSN to Panther893
nm i see it now.... i had an extra form tag in here DOH (homer simpson moment )

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > wierd.....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway