I am attempting to place a driving directions form into our website and am a little confused about this. I have created a site, created several pages including one called "Directions" which has one WYSIWYG area, and when I attempt to modify the page, I input the following code in the HTML source:
Directions To Our Office<br>
(This will take you to a Google Maps Page)<br>
<form action="http://maps.google.com/maps" method="get">
<p> <label for="saddr">From:</span></label>
<input name="saddr" id="saddr" size="62"> <input name="Reset" value="Reset Address" type="reset"></p>
<p> <label for="daddr">To:</label>
<input name="daddr" id="daddr" value="35th St @31.184820, -89.195150" size="96" type="hidden"><br>
The Mississippi Mobile Close Combat Tactical Trainer Office
<input name="submit" id="submit" value="Get Directions" type="submit"> </p>
</form>
What the above code does on my current webpage is add a driving directions form that links to "Google Maps" to give the driving directions. I have our address in a hidden box because the map is not completely accurate in it's placement of our ofice.
Once I save the HTML and go back to the WYSIWYG view, the code has automatically been changed to this:
Directions To Our Office<br />(This will take you to a Google Maps Page)<br /><form action="http://maps.google.com/maps" method="get"><p><label for="saddr">From:</span /></label> <input id="saddr" size="62" name="saddr" /> <input type="reset" name="Reset" /></p><p><label for="daddr">To:</label> <input id="daddr" type="hidden" size="96" name="daddr" /><br />The Mississippi Mobile Close Combat Tactical Trainer Office <input id="submit" type="submit" name="submit" /> </p></form>
What this does is change the labels I have on the Submit and Reset buttons and removes the hidden address in our office address box.
Does anyone have a suggestion on how I can get this code to remain the way I input it before I save it?
Any help is appreciated.
Thank You