AnsweredAssumed Answered

Run javascript after save in record.js

Question asked by Kenneth Brill on Sep 20, 2017
Latest reply on Sep 20, 2017 by Francesca Shiekh

I have a non-db field that is updated with JavaScript in the record.js.  It works fine EXCEPT if I alter the record and save it the Javascript function (called from initialize()) does not run and the field is blank.

 

My code looks something like:

   initialize: function (options) {
        this._super('initialize', [options]);
        this.setTTU();
   }

Where setTTU() is my function that should run but isnt after a save.

Outcomes