How do you distinguish which host field is used when using an array on editor.dependent? The only variable that seems to be available for this is val which only gives the value of the host field, but not the name of the host field.
editor.dependent( ['vendor_number','vendor_fname','vendor_lname], function(val,data,callback) {
alert(val); //val only provides value of the field. How do I find out which host field is being used.
},
{
event: 'keyup'
}
);