
December 5th, 2004, 02:50 PM
|
 |
MostarDesigns.com
|
|
|
|
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>
|