Field won't calculate in ES4

Avatar

Avatar

iuwonny

Avatar

iuwonny

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)

Avatar

Avatar

MinusZero

Avatar

MinusZero

MinusZero

14-02-2018

LOL, as long as it works i never question these things

Avatar

Avatar

iuwonny

Avatar

iuwonny

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

Avatar

Avatar

MinusZero

Avatar

MinusZero

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.