I have 2 tables containing employee data.
In form1 for the employee data, there is a button which opens form2 containing other data of the same employee.
I?m using javascript / onClick for this.
This is working fine in a form but the button does not work in details view (no error, just nothing).
Could someone help to make this button work in details view too?
In form1 for the employee data, there is a button which opens form2 containing other data of the same employee.
I?m using javascript / onClick for this.
This is working fine in a form but the button does not work in details view (no error, just nothing).
Could someone help to make this button work in details view too?
Code:
var mitarbeiter =Fabrik.getBlock('form_3').formElements.get('vk_vertraege___madaten_id').getValue();
var url ='/index.php?option=com_fabrik&view=form&Itemid=115&formid=1&rowid='+mitarbeiter+'-'+mitarbeiter+'&listid=1';
window.open(url);