The Simple Search Form selection generates a basic form that will open search results on a page on the Xtreme Locator server.
Installing Search Form:
- Select from one of the three search code options:
Postal Code only search form – Visitor enters a US or Canada postal code. Xtreme Locator searches for locations within the Search Distance that you have setup in Setup Options.
Postal Code and Distance search form – Visitor enters a US or Canada postal code. Xtreme Locator searches for locations within the Search Distance that you have setup in Setup Options. Entry in Distance field can reduce or increase the global search distance setting (in Setup Options).
Country and Postal Code search form – Visitor selects country and enters postal code (if postal code support for country selected is available). If postal code support for country selected is not available, postal code field is disabled and search by Country is undertaken.
Location Detection Button – This feature will present the site visitor with a button to find the nearest dealers. When the button is clicked, the visitor will be asked permission to share his location (either by IP address or by smart device geolocation services). If permission to share is granted, visitor’s location will be detected and nearest dealers will be shown.
- Click the Get Code button and a window will popup with the html code.
- Copy the code from the popup and paste into your web page where you want the search form to display.
Note: You can modify the search form to open the search results in a new window by modifying the following line in the html code.
Add target=”_blank” to the line
So it looks like below.
<form action=”http://app.xtremelocator.com/visitor/findLocations.php” target=”_blank”>