ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Use gcb in link

webcrea 22 Oct, 2020
Hi,

I try to add gcb [] in a link with ...&gcb={data:gcb}
but this is not that...?

Do you have any idea please?
Regards
Chris
webcrea 26 Oct, 2020
Thanks but not
I need to open in new window with tvout=view
Regards
Max_admin 26 Oct, 2020
the problem is opening in a new link or getting the gcb value ? where do you use this code ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
webcrea 26 Oct, 2020
getting the gcd but I solved this issue with js...
jQuery(document).ready(function($){
diplomas_btn = jQuery("#diplomas_btn");

diplomas_btn.on('click', function(){
check_list();
});
});

function check_list(){
var tbrows = new Array();
jQuery('input[name="gcb[]"]').each(function(){
if( this.checked ){
v = this.getAttribute("value");
tbrows.push(v);
}
});
listrows = tbrows.join(',');

console.log(listrows);
if(listrows.length){
console.log('ok');
strUrl = "https://your_url?event=your_event&tvout=view&gcb=" + listrows;
var win = window.open(strUrl, "Diplomas");
}
}
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com