Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/07/2003, 13:05
d.roma
 
Fecha de Ingreso: enero-2003
Ubicación: São Paulo
Mensajes: 337
Antigüedad: 22 años, 2 meses
Puntos: 0
Pregunta cfset: entrar con datos?

yo queria entrar con datos directamente a través de un <imput type=text>, y no por la variable en cfset:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<cfset Price="20">

<form name="frmestruturas_condiconais" method="post" action="condicao_testada.cfm">


<p align="center"><b><i><font size="+4" face="Comic Sans MS">Condi&ccedil;&atilde;o
if then</font></i></b></p>
<p>
<input type="hidden" name="Price" value="#Price#">
<input type="text" name="text_maior_10">
<input type="submit" name="cmdTesta" value="Testar N&uacute;meros &gt;10">
</p>
<cfoutput>
<!---Condição para teste de números maiores que 10--->
<cfif Price greater than or equal to 10>

<h3>The Price is greater than #Price#</h3>
<cfelse>
<h3>The Price is less than #Price#</h3>

</cfif>
</form>
</cfoutput>
</body>
</html>

tengo como hacerlo en cold fusion, para el usuario hacer la comparacion con sus numeros?
muchas gracias