I am new to Aras development.
I m stuck on below requirement.
I have 2 field name A & B.
If I have provided value eg. field1 = 40% in field A , field B automatically comes = 60%.on click event.
Hi Sanu,
Just to confirm I understand your question: You want the user to enter a value in Field A, click a button, and have a calculated value appear in Field B? If that is the case, you can do something like this in an onClick event on the button field:
var a = getFieldByName("Field A").getElementsByTagName("input")[0];
var b = getFieldByName("Field B").getElementsByTagName("input")[0];
var diff = 100 - a.value;
b.value = diff;