Front-End Entry Form

Smart Map has been replaced by Google Maps

Please install the Google Maps plugin instead. ➡️

As of February 2021, the Smart Map plugin has been completely rebuilt and replaced with the new Google Maps plugin for Craft CMS. For more details, see here...


The documentation below is for historical reference only.

On the front-end, you can easily save data in a standard front-end entry form.

The address field would look something like this...

<label>Street Address</label>
<input type="text" name="fields[myAddressField][street1]" value="">

<label>Apartment or Suite</label>
<input type="text" name="fields[myAddressField][street2]" value="">

<label>City</label>
<input type="text" name="fields[myAddressField][city]" value="">

<label>State</label>
<input type="text" name="fields[myAddressField][state]" value="">

<label>Zip Code</label>
<input type="text" name="fields[myAddressField][zip]" value="">

<label>Country</label>
<input type="text" name="fields[myAddressField][country]" value="">

<label>Latitude</label>
<input type="text" name="fields[myAddressField][lat]" value="">

<label>Longitude</label>
<input type="text" name="fields[myAddressField][lng]" value="">

If you are populating any of these values dynamically, you can also use them as hidden fields.