Hi! I’m new to Yii. How can I auto-compute two fields in another field?
field 1 - field 2 = field 3
should I edit the Model? Controller ? or View?
If I input or type ‘3’ in numberfield1 and ‘2’ in numberfield2 the numberfield3 is equal to ‘1’; automatically computes and display (on change) the difference between the two numbers