We need to code a way to set a hidden filter field with the username (stored in a variable)
I know isnt something really supported by the plugin by default but we did manage to hide (css) and fill (javascript) the field with the variable content already (it has a invalid default value so it shows nothing when loaded)
I don't know if something like this can be achieved, but before I can forward the question to our developers, you need to have a valid license.
You can retrieve the invoices by following this article on Envato. Depending on the date of purchase, we can provide you with a discount coupon so you can switch over to one of our licenses https://wpdatatables.com/pricing/
So, just send me the invoice (in a private response), and I'll see what we can do.
There is no such section... anyways, it was bought years ago. As its not a problem specific to the plugin itself, will look for help elsewhere, many thanks anyways. You can close this ticket.
All previous purchases from Envato are registered there, so there has to be a trace of this purchase in your account. People have been pulling invoices from 2015, 2016, so it has to be there.
We can't provide assistance without proof of purchase.
Our developers aren't quite sure what you need exactly, but you can try wrapping your logic in load event with jQuery: https://api.jquery.com/load-event/
Please note that this is a custom solution, so it doesn't fall into included support for the plugin. Even if you were to switch to our license, our developers wouldn't be able to custom code it for you, because we no longer provide customization services. Our support refers only to advice.
We need to code a way to set a hidden filter field with the username (stored in a variable)
I know isnt something really supported by the plugin by default but we did manage to hide (css) and fill (javascript) the field with the variable content already (it has a invalid default value so it shows nothing when loaded)
The code we have almost working for now is:
<script type=”text/javascript”>
var userid = “<?php echo do_shortcode(‘[prflxtrflds_field field_id=1]’);?>”;
function filluser() {
document.querySelector(“#table_2_4_filter > span > input”).value = userid;
}
</script>
<button onclick=”filluser()”>Rellenar usuario</button>
We plan to replace the button trrigger by “onload” but despite replacing the field content it doesnt “submit” it.
Any help on how can we submit a filter fiield using javascript?
PS.: Bought on Envato Market, support has expired, no iidea wwhere to retrieve purchase code.
Hello Igor
I don't know if something like this can be achieved, but before I can forward the question to our developers, you need to have a valid license.
You can retrieve the invoices by following this article on Envato. Depending on the date of purchase, we can provide you with a discount coupon so you can switch over to one of our licenses https://wpdatatables.com/pricing/
So, just send me the invoice (in a private response), and I'll see what we can do.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
There is no such section... anyways, it was bought years ago.
As its not a problem specific to the plugin itself, will look for help elsewhere, many thanks anyways.
You can close this ticket.
Hi again Igor.
All previous purchases from Envato are registered there, so there has to be a trace of this purchase in your account. People have been pulling invoices from 2015, 2016, so it has to be there.
We can't provide assistance without proof of purchase.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello again Igor.
Our developers aren't quite sure what you need exactly, but you can try wrapping your logic in load event with jQuery: https://api.jquery.com/load-event/
Please note that this is a custom solution, so it doesn't fall into included support for the plugin. Even if you were to switch to our license, our developers wouldn't be able to custom code it for you, because we no longer provide customization services. Our support refers only to advice.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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