I've been trouble shooting this for a few days now and could really use some help.<br><br>I'm not getting any firebug errors and shp2img is showing parcels map is correct; a URL call to both parcels map and itemquery map is returning a call back as intended on both.<br>
<br>LAYER<br> NAME 'Parcels'<br> TYPE POLYGON<br> DATA 'parcels.shp'<br> STATUS DEFAULT<br> ---------------------------------<br>INDEX.HTML<br><br><div id="CustomForms"><br>
<div id="pinsearch"><br> <font color="black"><b>Search for Parcel:</b></font><br/><br> <input name="id"/><input type="submit" value="Search"/><br>
<input type="hidden" name="map" value="/var/www/vhosts/<a href="http://mysite.org/httpdocs/geomoose/maps_countydemo/itemquery.map">mysite.org/httpdocs/geomoose/maps_countydemo/itemquery.map</a>"/><br>
<input type="hidden" name="mode" value="nquery"/><br> <br><i><b>EnterPIN</b><br /><br> <br>
</div><br><br> -----------------------------------<br> xml<br> <br> <service title="Search for Parcels" selectable="false" default="true" locked="true" div="pinsearch" icon="shared/images/toolbar/find.jpg" highlight="shared/images/toolbar/find_selected.jpg" ><br>
<url>/cgi-bin/mapserv</url><br> <input type="hidden" name="map" value="./itemquery.map"/><br> <input type="hidden" name="mode" value="nquery"/><br>
<input type="hidden" name="layer" value="pinSearch"/><br> <input type="user" name="id" title="Zoom to Parcel#:"/><br> </service><br>
----------------------------------<br> <br>ITEMQUERY.MAP<br>LAYER # Parcels Polygon Layer<br> NAME 'Parcels'<br> DATA 'landrecords/parcels.shp'<br> STATUS DEFAULT<br> TYPE POLYGON<br>
METADATA<br> qstring_validation_pattern '.'<br> END<br> TEMPLATE 'landrecords/itemquery_parcels.html'<br> FILTERITEM 'parcel_no'<br> FILTER /^%id%/ #begins with search regular expression<br>
<br> ---------------------------------<br>ITEMQUERY_PARCELS.HTML<br> <br> <--MapServer Template--><br><tr><br><td>[parcel_no]</td><br><td>[Comments]</td><br>
<td><a href="javascript:Map.itemQueryLayer('Highlight', 'Parcels', 'parcel_no', '[parcel_no]', '/var/www/vhosts/<a href="http://mysite.org/httpdocs/geomoose/maps_countydemo/select.map'">mysite.org/httpdocs/geomoose/maps_countydemo/select.map'</a>); Map.zoomToViewString(([shpminx]-400)+','+([shpminy]-400)+','+([shpmaxx]+400)+','+([shpmaxy]+400))"><img src="shared/images/view.png" border="0" title="Click to Zoom Map to Parcel"></img></a></td><br>
</tr><br><br clear="all"><br>-- <br>"If one advances confidently in the direction of his dreams, and endeavors to live the life which he has imagined, he will meet with a success unexpected in common hours." ~Thoreau<br>
<br><br>