roropacific
IS-IT--Management
Hello I am knew to cold Fusion. Here is my problem I have a form with one field and a submit button. When I enter something in the field and press submit.
I get this error
Error Diagnostic Information
An error occurred while evaluating the expression:
#form.searchvar#
Error near line 3, column 12.
--------------------------------------------------------------------------------
Error resolving parameter FORM.SEARCHVAR
The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name.
The error occurred while processing an element with a general identifier of (#form.searchvar#), occupying document position (3:11) to (3:26) in the template file C:\Inetpub\
This is what I have in my form
<CFOUTPUT>
<CFAPPLICATION NAME='search' SESSIONMANAGEMENT='YES' SESSIONTIMEOUT='#CreateTimeSpan(00, 00, 60, 00)#'>
</CFOUTPUT>
<html>
<head><title>Customer Support Search</title></head>
<body>
<h1>Search</h1><br><hr>
<p>Select from the following reporting options to view data:</p>
<p>Enter Product Id:</p>
<p><input type="text" name="#searchvar#">
</p>
<form method="post" action="search.cfm" >
<INPUT type="submit" value="Search">
<br><br><br>
<A href="customerservice1.cfm"> Back</A> </br></br></br>
any clue?
Thank you
I get this error
Error Diagnostic Information
An error occurred while evaluating the expression:
#form.searchvar#
Error near line 3, column 12.
--------------------------------------------------------------------------------
Error resolving parameter FORM.SEARCHVAR
The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name.
The error occurred while processing an element with a general identifier of (#form.searchvar#), occupying document position (3:11) to (3:26) in the template file C:\Inetpub\
This is what I have in my form
<CFOUTPUT>
<CFAPPLICATION NAME='search' SESSIONMANAGEMENT='YES' SESSIONTIMEOUT='#CreateTimeSpan(00, 00, 60, 00)#'>
</CFOUTPUT>
<html>
<head><title>Customer Support Search</title></head>
<body>
<h1>Search</h1><br><hr>
<p>Select from the following reporting options to view data:</p>
<p>Enter Product Id:</p>
<p><input type="text" name="#searchvar#">
</p>
<form method="post" action="search.cfm" >
<INPUT type="submit" value="Search">
<br><br><br>
<A href="customerservice1.cfm"> Back</A> </br></br></br>
any clue?
Thank you