Okay
  Public Ticket #1762670
GeoLocation (callback)
Closed

Comments

  • Andy Fuchs started the conversation

    Just a quick question:

    I have a customer database where I need the ability to do geo-location-lookup after the address is entered/changed.

    So, is there a way to:

    a) add a button (or something) to trigger the geo-lookup?

    b) can I define a filter/action to automatically enter lat/long after an address was entered/changed?

    tia

    andy

  • [deleted] replied

    Hi Andy,
    Thank you for your inquire.

    a) add a button (or something) to trigger the geo-lookup?

    Do you need to add this button on filters or on editing functionality. Please describe me this in little more details so I can better understand. 

    b) can I define a filter/action to automatically enter lat/long after an address was entered/changed?

    We do have built in filters and actions which allows you to manipulate the data after table editing on the frontend. You can find list of all built in hooks in our Documentation and for your use case I will suggest wpdatatables_filter_frontend_formdata( $formData, $tableId ).