As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #3962322
Dynamic check on two field in the the datatable
Open

Comments

  • Aurélien GIRAUD started the conversation

    Hi,

    I have a question regarding a dynamic control that I want to do in my wpdatatable.

    I have two columns "invoice_quantity" and "destroyed_quantity".

    * invoice_quantity : It's a field in our database with a value

    * destroyed_quantity : It's a field in our database set to 0. This field is here to allow connected user to modify it thanks to the wpdatatable edit function.

    I would like to create a dynamic control on this field.

    If "destroyed_quantity" > "invoice_quantity", display a pop-up "Alert" and block the edition.

    I know there is a "conditional formatting" function for each column but I can't create a rule based on another column.

    Do you know how can I do that ?

    Thanks in advance for your feedback.