AnsweredAssumed Answered

run function on change of a checkbox

Question asked by Robert Lehner on Dec 16, 2015
Latest reply on Dec 16, 2015 by Robert Lehner

Hi all.

 

I want to run a function in record.js when a checkbox is changed.

I'm struggling with the event.

 

I tried following:

initialize: function(options) {

   this._super('initialize', [options]);

   this.events["change input[name=itd_vc_newversion_c]"] = 'NewOppVersion';

},

 

What is the correct event for a checkbox that my function get called?

Can anyone help me pls.

regards Robert

Outcomes