java calculated field form
-
Hi there,
Can someone help me, pls?
I can’t get a function to return the value on a calculaiton field.
I have four fields:
– nightly rate $ – fieldname 2
– days fieldname6
– years fieldname11
– inflation fieldname7…and a calclation field fieldname12
I have this function
function () {
day = fieldname2;
days = fieldname6;
years = fieldname11;
rate = fieldname7;
total = 0;
temp = 0;
price=day*days;for(var i = 1; i <= years; i++){
price=calprice(price,rate)
total=total+price;tf = fieldname12; tf.setValue(parseInt(total) + ‘$’);
};and it’s not returning anything.
Can you help me pls? What I’m doing wrong. I’m moving this and it doesn’t want to work here.
Thank you for your time
- The topic ‘java calculated field form’ is closed to new replies.