PDA

View Full Version : set values to my object easy problem



tmchedlishvili
1 Jul 2013, 3:43 AM
hello
my code is the following


var form = me.down('evaluationform').getForm();
var evaluation = form.getFieldValues();

and my aim is to set some other value(ID) to my evaluation for example this : me.record.get('id')
i try many things but.. like this evaluation.setValue(me.record.get('id'));

please tell me how can i do this

tmchedlishvili
1 Jul 2013, 8:16 AM
ansver : evaluation.applicantId = me.record.get('id');