Skip to main content
Nintex Community Menu Bar
Solved

Nintex Forms Calculated Value not working

  • Feb 18, 2020 3:31 PM UTC
  • 22 replies
  • 576 views
  • Translate All

Forum|alt.badge.img+3

Hello all. I can't figure out why calculated value on one list(works in other lists) is not working. The fields in sharepoint are set as single line of text. I'm not getting results even in the simplest form i.e. column1 * column2. Any ideas?

Best answer by Simon Muntz

Hi,

You posted in the SharePoint section but the form provided was an Nintex for O365 form so I have moved the post to the correct category.

The formula in the Proposed Spread Toatal has 1 to many closing brackets ')'

Fix this and see if it resolves your issue.

 

Not sure why you were not seeing any errors in the browser console. I imported and published the form, opened it and this error appeared and told me what the issue was.

View original

22 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Feb 18, 2020 10:26 PM UTC
Hi,

Is there anything special about this list like the way it was created for instance? Do you see any errors in the browser console when opening the form in a browser?
Do you see any errors if you do a fiddler trace when opening the form?
If this a new form or was it imported from somewhere else?
Translate

Forum|alt.badge.img+3
  • Author
  • Feb 19, 2020 9:51 PM UTC

thanks Simon.
I don't see any error. I created another list from scratch have problem with calculated value on this one also. i have four calculated value fields in one form and when one works the other doesn't. Also shows #value on the fields that don't work.

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Feb 19, 2020 10:42 PM UTC
Are you able to provide an export of your test form?
Translate

Forum|alt.badge.img+3
  • Author
  • Feb 20, 2020 12:47 AM UTC

here. thanks.

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Answer
  • Feb 20, 2020 3:02 AM UTC

Hi,

You posted in the SharePoint section but the form provided was an Nintex for O365 form so I have moved the post to the correct category.

The formula in the Proposed Spread Toatal has 1 to many closing brackets ')'

Fix this and see if it resolves your issue.

 

Not sure why you were not seeing any errors in the browser console. I imported and published the form, opened it and this error appeared and told me what the issue was.

Translate

Forum|alt.badge.img+3
  • Author
  • Feb 20, 2020 1:39 PM UTC

hi Simon,

I have issues even with a simple column1*column2 where when one works the other doesn't even appear. Also what can i do about the synthax error

Translate

CarmScaffidi
Nintex Partner
Forum|alt.badge.img+2
  • Nintex Partner
  • Feb 20, 2020 3:41 PM UTC

Did you try what Simon suggested?

"The formula in the Proposed Spread Toatal has 1 to many closing brackets ')'"

Translate

Forum|alt.badge.img+3
  • Author
  • Feb 20, 2020 7:48 PM UTC

Calculated value works now. thanks a mil

Translate

Forum|alt.badge.img+3
  • Author
  • Feb 21, 2020 4:36 AM UTC

i finished the form and published it and calculated value stops working. any ideas? TIA

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Feb 21, 2020 5:01 AM UTC
Did you look at all the errors in the console when you published the form?
Rules like proposedpayrate==""&&is_Edit_ModeIs_Display_Mode are not valid. It should be proposedpayrate==""&& is_Edit_Mode && Is_Display_Mode
Instead of proposedpayrate=="" try isnullorempty(proposedpayrate)
You have used the If() runtime function but only input 1 parameter but it takes 3.
You have used the not() runtime function in the middle of a function. It can only be used to surround a whole function to reverse its output.
Translate

Forum|alt.badge.img+3
  • Author
  • Feb 21, 2020 11:39 PM UTC

resolved! thank you.

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 14, 2020 1:02 PM UTC

Thank you so much for your replys.

Can a calculation be too complex for Nintex?

 

I have two Calculation Value fields one works and shows 0, the other one doesn't and shows #value on the published form.

This's the calculation(each number represents a column)

(88-(30*(1+34.5/100)0/2000+1000/2000+.75*5+.75*3))/88

 
 
Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Mar 15, 2020 11:55 PM UTC

If you add an operator where the blue arrow is in my pic and type the formula in and not cut and paste it will work.

I added a plus and got.

 

 

 

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 16, 2020 2:00 PM UTC

Thanks Simon,

This's the formula I'm trying to work

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Mar 16, 2020 10:06 PM UTC
Looks the same as your previous formula but just has references in place instead of hardcoded numbers.
Do you see any errors in the browser console when the form is opened in new mode?
Are you testing in Preview mode or actually publishing and testing?
Are all the references referencing named controls or do they reference list columns etc?
Translate

Forum|alt.badge.img+3
  • Author
  • Mar 17, 2020 2:21 AM UTC

The formula's referencing columuns and it works with any other formulas except this specific one and comes up 0 when i test with numbers above in the published form. there's 1 "synthanxerror" in edit and new mode

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 19, 2020 6:55 PM UTC

Did I answer your question?

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Mar 19, 2020 8:56 PM UTC
You answered your own question.
Resolve the syntaxerror that you are seeing in the browser console.
Translate

Forum|alt.badge.img+3
  • Author
  • Mar 19, 2020 10:11 PM UTC

can you pls help me figure out where the error is. thank you.

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Mar 19, 2020 10:17 PM UTC
Remove rules and calculated value controls one by one until the error goes away and then you will know where it is coming from.
Translate

Forum|alt.badge.img+3
  • Author
  • Mar 20, 2020 6:34 PM UTC

thanks for responding

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 31, 2020 1:59 AM UTC

I deleted everything on the form and still I had the one synthax error. Any other formulas on this field work except this one. any ideas? thanks.

 

(column1 –(column2 * (1 + column3 /100) + column4 / 2000 + column5 / 2000 + .75 * column6 + .75 * column7)) / column1

Translate