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 #3099720
wpdatatables - do_shortcode
Closed

Comments

  •  1
    Danie Coetzee started the conversation

    I want to use wpdatatables with the var1 placeholder as a variable ...

    This the HTML:

    <br></br> <br></br> [wpdatatable id=65 var1='%xxxx%']

    <table> <tbody> <tr><td style="background-color: #ffffff" width="236"><strong>Service Provider DD Assessment</strong> <label>Service Provider Number</label>   <input id="xxxservprovidnrx" name="xxxidnr" placeholder="9999999999999" type="text">   <input type="button" style="background-color:#6D4053;color:white;" onclick="getdbindiv(null,'assess_spdd', 'xxxservprovidnrx' )" name="submit" value="Submit" /> </td></tr> </tbody> </table> <div id="assess_spdd"></div>

    This the php function:

    add_action( 'wp_ajax_assess_spdd', 'assess_spdd' ); add_action( 'wp_ajax_nopriv_assess_spdd', 'assess_spdd' ); function assess_spdd() {

    $servprovnr = strval($_POST['idnumber']); $return_string = '[wpdatatable id=65 var1='.$servprovnr.']'; echo $content .= do_shortcode("$return_string"); wp_die();

    }

    This the output:

    3984983268.png

    The second part of the output is suppose to look like the first part ... formatted and an editable table ...

    Please help

  •  1,894
    Miloš replied


    Hi, Danie 

    Sorry for the delay

    -

    Using the table HTML in our tables can be quite tricky to achieve - and this seems like a custom solution.

    Our support is very limited when it comes to custom workarounds, but we will do our best.

    I will ask our 2nd level Team for advice regarding this, as soon as they advise, i will report back for you.

    Thank you for your patience.



    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables