Borox
Member
Hi,
One 'main' table joined to another table.
I added a button in the form using the 2 tables ( in the group corresponding to the 2nd table).
When I try to get the value of an element from the 2nd table, it doesn't work. It works great if I try to get an element from the 'main' table:
OK:
KO:
We can't get values from joined tables?
Thanks.
One 'main' table joined to another table.
I added a button in the form using the 2 tables ( in the group corresponding to the 2nd table).
When I try to get the value of an element from the 2nd table, it doesn't work. It works great if I try to get an element from the 'main' table:
OK:
JavaScript:
var no_evt = Fabrik.getBlock('form_112').formElements.get('nkqs9_users___id').getValue();
window.location.href ="/index.php/collaborer/evenements/travaux-non-termines/details/5/"+no_evt;
KO:
JavaScript:
var no_evt = Fabrik.getBlock('form_112').formElements.get('nkqs9_jcomments___object_id').getValue();
window.location.href ="/index.php/collaborer/evenements/travaux-non-termines/details/5/"+no_evt;
We can't get values from joined tables?
Thanks.