Insert GeoIP City into html form
<p>Searched and couldn't find an answer on this one. I am not much of a coder and know very little about javascript. Hoping someone here can help me out. I need to get the user's geoip city and then insert it as a value into a form. I have this script for getting the geoip city...</p>

<pre><code>&lt;script src="http://j.maxmind.com/app/geoip.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;document.write(geoip_city());&lt;/script&gt;
</code></pre>

<p>I need that city to be put into the value part of the form</p>

<p></p>

<p>Any ideas on how to do this? </p>

<p>Form looks like this...</p>

<pre><code>&lt;input type="hidden" name="custom_City" id="city" value="NEED CITY IN HERE"&gt;&lt;/input&gt;
</code></pre>
