Hi, I am always getting an error message when clicking on the Go button. I have 2 files. One file contains a form and the other a simple cfm file. PLEASE ADVISE
Error Occurred While Processing Request
String index out of range: 0
The error occurred in D:\projects\new-jmsb\form\responsetiks.cfm: line 8
6 : </cfif>
7 :
8 : <cfif isdefined(FORM.Conc)>
9 : <cflocation url=" addtoken="no">
10 : </cfif>
---------------Form Page ========================
form id="quicksearch" name="quicksearch" action="response.cfm" method="post">
<label for="quicksearchBox">Search:</label> <input class="styledinput" tabindex="1" accesskey="S" type="text" name="q" id="quicksearchBox" size="9" /><input class="styledinput" tabindex="2" type="submit" value="Go" id="quicksearchButton" /><br /><br />
<p><input type="radio" accesskey="J" name="Jmsb" value="J"/> School of Business</p>
<p><input type="radio" accesskey="C" name="Conc" value="C" /> Condolle University</p> </form>
------------------------response.cfm--------
<cfparam name="FORM.Jmsb" default="">
<cfparam name="FORM.Conc" default="">
<cfif isdefined(FORM.Jmsb)>
<cflocation url=" addtoken="no">
</cfif>
<cfif isdefined(FORM.Conc)>
<cflocation url=" addtoken="no">
</cfif>
Error Occurred While Processing Request
String index out of range: 0
The error occurred in D:\projects\new-jmsb\form\responsetiks.cfm: line 8
6 : </cfif>
7 :
8 : <cfif isdefined(FORM.Conc)>
9 : <cflocation url=" addtoken="no">
10 : </cfif>
---------------Form Page ========================
form id="quicksearch" name="quicksearch" action="response.cfm" method="post">
<label for="quicksearchBox">Search:</label> <input class="styledinput" tabindex="1" accesskey="S" type="text" name="q" id="quicksearchBox" size="9" /><input class="styledinput" tabindex="2" type="submit" value="Go" id="quicksearchButton" /><br /><br />
<p><input type="radio" accesskey="J" name="Jmsb" value="J"/> School of Business</p>
<p><input type="radio" accesskey="C" name="Conc" value="C" /> Condolle University</p> </form>
------------------------response.cfm--------
<cfparam name="FORM.Jmsb" default="">
<cfparam name="FORM.Conc" default="">
<cfif isdefined(FORM.Jmsb)>
<cflocation url=" addtoken="no">
</cfif>
<cfif isdefined(FORM.Conc)>
<cflocation url=" addtoken="no">
</cfif>