Field won't calculate in ES4

iuwonny

13-02-2018

I have set a field to calculate a value via a script with the following:

1417875_pastedImage_0.png

I have used this exact formula and setup on other forms, however, this form, when I open it, it simply seems to be almost "bypassing" the field and doing nothing.

No calculation, no error. Nothing.

Can anyone help?

Accepted Solutions (0)

Answers (3)

Answers (3)

iuwonny

14-02-2018

Hi MinusZero,

I was able to figure this out earlier today.

The final line

this.value = Final.toFixed(2) ;

should have been

this.RawValue = Final.toFixed(2) ;

Thank you for your reply.

I'm not quite sure how I got away with it working in previous forms since I copied it exactly lol

MinusZero

14-02-2018

Hi,

have you tried looking at the Javascript debugger, open the form and press CTRL+J and then click the button and see if any errors show.