Hi All,
I am facing an issue in adding a tag value with a number with javascript.
I have the following code:
var amount = $record.resolveNode("CONTRACT.AMT_CHECK").value;
this.rawValue = Sum(amount, 25);
I am getting the value of "amount" variable, but when i use Sum function its not working.
Can anyone let me know how to add a tag value with a number????
Thanks in advance.....
Views
Replies
Total Likes
The sum function only exists in FormCalc not JavaScript.
Change the language in the script editor to FormCalc.
Views
Replies
Total Likes
Then what is the function is javascript?
Views
Replies
Total Likes
If you are trying to add Integer values in Java Script, try
this.rawValue = parseInt(amount)+ 25;
Thanks
Srini
Views
Replies
Total Likes
Thanks Srini...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies