Title: [Feature Request] Allow Extending formdata
Last modified: September 26, 2019

---

# [Feature Request] Allow Extending formdata

 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/feature-request-allow-extending-formdata/)
 * There’s currently a filter to modify the output of the forms.
 * There’s filters to modify and manage the results SQL also.
 * The issue is that if you were to modify the form output to add additional fields
   there’s no filter for appending these to the `formdata` variable found in the`
   simple-locator.js` file.
 * It may be possible to add an additional filter to the `$localized_data` variable
   to localize any additional `formdata` and combine the two but this is not built
   in or easily doable without an additional filter. There may also be an easier
   way to get around this but simply looping through all the available inputs and
   adding them to `formdata` but I’ll leave that choice up to the developer.

The topic ‘[Feature Request] Allow Extending formdata’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-locator_279078.svg)
 * [Simple Locator](https://wordpress.org/plugins/simple-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-locator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/feature-request-allow-extending-formdata/)
 * Status: not resolved