Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

code for form to get directions from google maps fails

Home / Forums / Virtue Theme / code for form to get directions from google maps fails

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
August 2, 2014 at 8:08 pm

Ben,

I have incorporated a previously published form code to return directions using google maps on a page in my site.

The page:

The previously available code:
<form action=” method=”get” target=”_blank”>
<label for=”saddr”>Enter your location</label>
<input type=”text” name=”saddr” />
<input type=”hidden” name=”daddr” value=”3047 Edinger Ave, Tustin, Ca 92780″ />
<input type=”submit” value=”Get directions” />
</form>

Unfortunately the code, which works in Coda, fails to execute the action to take the user to the maps.google.com site, but appears to apply the variables to my site.

Any suggestions on how to get this to work?

Mike

  • The forum ‘Virtue Theme’ is closed to new topics and replies.