Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6198 Ansichten

Can somene help me get the data from a form field and modify it based on its value with javascript? Here is what I have so far, but I dont know how to get the form data into javascript

openerp.sale_custom = function(instance){

instance.sale_custom.SaleClass = instance.web.Class.extend({
    field_val: function(){  /*  pass data from the form into here?... */ },
});

var object = new instance.sale_custom.SaleClass();
object.field_val();

}

Avatar
Verwerfen
Beste Antwort

Hi Eric,

           I want to send a field data to javascript for calculation. This should be done before clicking save button. Please guid me ..

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Juli 25
439
1
Juli 25
5385
0
Juli 25
950
0
Juni 25
949
1
Juni 25
1071