Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6184 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 25
434
1
jul. 25
5367
0
jul. 25
932
0
jun. 25
930
1
jun. 25
1061