Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Field won't calculate in ES4

Avatar

Avatar
Level 1
iuwonny
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
iuwonny
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
iuwonny
Level 1

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
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

14-02-2018

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

Avatar

Avatar
Level 1
iuwonny
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
iuwonny
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
iuwonny
Level 1

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
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

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.