We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2192652
Custom Save Method?
Closed

Comments

  • Paul started the conversation

    Hello!

    The problem I am trying to solve:

    1. I have two columns in a table that I need to be editable.

    2. The source table/data is DIFFERENT for each column.

    Example:

    Column1 => table1.column1

    Column2 => table2.column2

    It's easy enough to make one column editable. Making the second one editable is the challenge.

    -----------------

    What is the best way to solve this problem?

    --------------------

    1. I have researched the available actions and filters:
      1. wpdatatables_after_frontent_edit_row: this happens after a save, but i would never get there because of the error that would be thrown on the save itself.
      2. The filters i looked at were: wpdatatables_query_before_save_frontend, wpdatatables_filter_formdata_before_save. The latter one i could try to use, but i believe the intent is to modify data prior to a save - NOT perform additional saves inside this function. And again, I would still have an issue with the save action failing.
    2. It almost seems like what i want to do is conditionally override the save table action (wp_ajax_wdt_save_table_frontend) in the plugin - but this is complicated, and very close to hacking the core source code. I'd like to avoid that.
    3. I am also looking into Gravity Forms integration. But I'm unfamiliar with GravityForms, and not sure it can do what i want.

    Hopefully, I was able to explain the issue. Any help would be greatly appreciated. Thanks!






  •  472
    Isidora replied

    Hi Paul,

    Thank you for your purchase.

    If I understand you right you can use Foreign keys and check is that what you looking for. You can read more about this on this links in our docs.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables