dependent() with field is an array
dependent() with field is an array
Hello
I use API depedent() with field as an array like this ['capture.transponder', 'capture.eartag_left', 'capture.eartag_right'] and the event: 'focusout'.
I would like to know in the fetch wich field is focusout because i want to change class of this field in some cases.
How can i do this.
Thanks a lot.
Lionel
This discussion has been closed.
Answers
Hi Lionel,
I don't think that is actually possible at the moment. You'd need to split it into three different functions. Could you still have a reusable function, but you would need three
dependent()
calls to be able to tell them apart.Allan