Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RensTillmann committed May 29, 2020
1 parent b954a4d commit e1554a9
Show file tree
Hide file tree
Showing 5 changed files with 506 additions and 1,064 deletions.
16 changes: 16 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Super Forms - Changelog

## May 29, 2020 - Version 4.9.460

- **Added:** Option for Google Map element to set region code e.g `nl`, `de`, `uk`, `us` etc.uu
- **Added:** Option for Google Map element to set/adjust `zoom`
- **Added:** Option for Google Map element to enable/disable `UI (buttons)`
- **Added:** Option for Google Map element to `draw Route` from address A (origin) to address B (destination)
- **Added:** Option for Google Map element to optionally display the `directions panel` (list with route instructions)
- **Added:** Option for Google Map element to set it's travel mode `DRIVING`, `BICYCLKING`, `TRANSIT`, `WALKING`
- **Added:** Option for Google Map element to populate `distance` to field (including Calculator Add-on)
- **Added:** Option for Google Map element to populate `duration` to field (including Calculator Add-on)
- **Added:** Option for Google Map element to define the unit system `METRIC` or `IMPERIAL`
- **Added:** Option for Google Map element to draw Route with `Waypoints` (stops in between the route)
- **Added:** Option for Google Map element to optimize route with waypoints (to rearrange it in a more efficient order)
- **Added:** Option for Google Map element to avoid `Ferries`, `Major highways`, `Toll roads` (if possible)
- **Fix:** Incorrect incrementing field names in dynamic columns

## May 21, 2020 - Version 4.9.455

- **Fix:** MySQL error in prepare() statement when unique code is generated
Expand Down
9 changes: 9 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- [Can I customize the layout to include collapse groups?](#can-i-customize-the-layout-to-include-collapse-groups)
- [Is it translation ready / translatable?](#is-it-translation-ready-translatable)
- [I disabled autocompletion on a field but it's not working](#i-disabled-autocompletion-on-a-field-but-its-not-working)
- [I am getting an error while updating the plugin](#i-am-getting-an-error-while-updating-the-plugin)

## How can I make all fields to be required?

Expand Down Expand Up @@ -186,3 +187,11 @@ Some browsers will simply ignore the `autocomplete` attribute. There are a coupl
- For most browsers the simplest way to solve this would be to change the field name to a random string e.g `xY2a9z` instead of a normal name e.g `address`
- For Safari browsers the best way to make autocompletion work is to make sure your field name contains the word `search`. So if you have a field named `address` and you wish to disable autocompletion make sure to rename it to either `search_address` (as long as it contains the word `search`).
- If the above methods both do not work, you might also need to remove the `Placeholder` for the field so that it doesn't contain any reference name to any possible autocompletion. For example, if your placeholder contains `Enter your address` then the word `address` might trigger autocompletion in a given browser.

## I am getting an error while updating the plugin

If you are getting the following error while trying to update Super Forms:

`Unable to rename the update to match the existing directory.`

It is always a permissions problem on your server. In any case you should contact your host about this so they can correctly set the permissions for your WordPress installation.
17 changes: 16 additions & 1 deletion docs/google-map.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Google map element

under construction...
You can find the google map element under `HTML Elements` > `Google Map`. When using the Google Map you must have a valid API key. You can obtain an API key from within your [API manger](https://console.developers.google.com/). Make sure to enable the `Google Maps JavaScript API` for your API.

**The Google Map comes with several features:**

- Option to set region code e.g `nl`, `de`, `uk`, `us` etc.uu
- Option to set/adjust `zoom`
- Option to enable/disable `UI (buttons)`
- Option to `draw Route` from address A (origin) to address B (destination)
- Option to optionally display the `directions panel` (list with route instructions)
- Option to set it's travel mode `DRIVING`, `BICYCLKING`, `TRANSIT`, `WALKING`
- Option to populate `distance` to field (including Calculator Add-on)
- Option to populate `duration` to field (including Calculator Add-on)
- Option to define the unit system `METRIC` or `IMPERIAL`
- Option to draw Route with `Waypoints` (stops in between the route)
- Option to optimize route with waypoints (to rearrange it in a more efficient order)
- Option to avoid `Ferries`, `Major highways`, `Toll roads` (if possible)
Loading

0 comments on commit e1554a9

Please sign in to comment.