Okay
  Public Ticket #2829488
forminator checkbox data
Closed

Comments

  • Bobby A Sample started the conversation

    In testing wpDataTables with my existing Forminator forms, I cannot seem to get any data from checkbox fields to display in the table. In my Forminator display and in CSV exports from Forminator, these fields appear as strings (e.g. "value1, value2") but in wpDataTables they're empty. Choosing to keep wpDataTables or upgrade pretty much depends on whether the basic fields will display in tables. What am I missing here?

  •  471
    Isidora replied

    Hi Bobby,

    Thank you for your interest in wpdatatables.

    Sorry for the inconvenience,

    It looks like that your data is saved as a string, not an array. Can you try to change the code in our add-on in file wp-content/plugins/wdt-forminator-integration/wdt-forminator-integration.php around line 905 you will find this

    $formattedEntry = implode(', ', array_filter($entryValue));

    and please replace it with this

    if (is_array($entryValue)) {
        $formattedEntry = implode(', ', array_filter($entryValue));
    } else {
        $formattedEntry = $entryValue;
    }

    Let me know if this helps and then this will be included in next update of the add-on.

    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

  • Bobby A Sample replied

    Perfect! This solved the problem. Thanks!

  •  471
    Isidora replied

    Hi Bobby,

    You are welcome.

    This will be included in the next update, so you do not have to worry about that.

    I’d like to ask you a favor. Would you mind taking a few minutes to write a review for us, please on this link

    Your comments are beneficial for others to know what to expect when they’re looking for our free add-on.

    Thank you in advance. It means a lot to us, and I am looking forward to reading your comment.

    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