Skip to main content
Participant
February 8, 2007
Question

Image maps and other form elements

  • February 8, 2007
  • 2 replies
  • 224 views
I have a server side image map application that works quite well. I decided that I wanted to pass more user-generated information than the coordinates of the click, specifically to add a set of radio buttons. I'm not sure how to get the value of the radio button along with the other stuff. Here is my initial html file:

<title>Map database - Costa Rica point pick</title>
<h3> Clicking any point on the map will find all maps at that point.</h3><br>
<INPUT type="radio" name="fuzzc" value="0"> Very precise   
<INPUT type="radio" name="fuzzc" value="3" checked> Some tolerance   
<INPUT type="radio" name="fuzzc" value="5"> Much tolerance<br>;
<a href="../pointpick.cfm?hgt=510&prjn=EQ&wid=467&left=-86&right=-82.3646&botdeg=8&topdeg=11.909&lr=deg"><IMG src="../picpics/costa_rica.gif" ismap width=467 height=510></A>

When it gets to the code in pickpoint.cfm that tries to get the calue of the radio button, I get

Element FUZZC is undefined in FORMS.

The error occurred in D:\inetpub\wwwroot\mapsCatalog\test\pointpick.cfm: line 160

158 : <cfset botdeg = #fixparam(URL.botdeg)#>
159 : <cfset fuzzd = abs(topdeg - botdeg) * (fuzzp / hgt)>
160 : <cfset fuzzq = forms.fuzzc>

I understand that this is happening because I'm trying to mix 2 types of parameter passing, but don't know how to get around it.

This topic has been closed for replies.

2 replies

MaperistAuthor
Participant
February 8, 2007
Thanks for catching that, but unfortunately, it wasn't enough to fix the problem.
I now get essentially the same thing:

Element FUZZC is undefined in FORMS.

The error occurred in D:\inetpub\wwwroot\mapsCatalog\test\pointpick.cfm: line 162

160 : <cfset botdeg = #fixparam(URL.botdeg)#>
161 : <cfset fuzzd = abs(topdeg - botdeg) * (fuzzp / hgt)>
162 : <cfset fuzzq = form.fuzzc>
163 : <cfset left = #fixparam(URL.left)#>
164 : <cfset right = #fixparam(URL.right)#>
Inspiring
February 8, 2007
Try going with FORM.fuzzc Singular not plural FORM