I did not see anywhere short code for Custom Form for gmap. Create your own Custom Form alone and want to add and gmap, How can I do that and add it to my Custom Form ?
:)
Thanks in advance!
resolvedI did not see anywhere short code for Custom Form for gmap. Create your own Custom Form alone and want to add and gmap, How can I do that and add it to my Custom Form ?
:)
Thanks in advance!
Oops..yep. Sorry. It's not listed in the available fields, but you can use:
[geocode] and [geocode_fields] in your custom form, with the same effects as the attributes for the shortcode have on the standard form.
Cheers,
Byron
I tried both short code, but had no effect. Not working!
So now I use this:
<tr><th>Geocode:</th>
<td align="left">
Use address field(s) for geocode lookup
<input tabindex="50" type="text" name="bwbps_addr" id="bwbps_addr" class="bwbps_reset" size="20" />
<input type="button" value="Geocode" onclick="bwb_gmap.geocodeAddress(jQuery('#bwbps_addr').val(), 'bwbps_lat','bwbps_lng'); return false;" class="button">
<div style="float:left;">Latitude:
<input tabindex="50" type="text" name="bwbps_geolat" id="bwbps_lat" class="bwbps_reset" size="10" /></div> <div style="float:left; margin-left: 5px;">Longitude:
<input tabindex="50" type="text" name="bwbps_geolong" id="bwbps_lng" class="bwbps_reset" size="10" /></div><div style="clear: both;"></div>
</td>
</tr>
Cheers,
Dobrin :)
Thanks for the heads up...I'll check into it!
BB