cancel
Showing results for 
Search instead for 
Did you mean: 
hcait
Nintex Newbie

Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi All,

Our calculated fields, inside a Repeating section, gets cleared when the form is saved. when in 'New' mode the values gets calculated and the sum of the Totals are calculated correctly. However, when the form is saved and reopened, the calculated fields are shown as blank as if the data does not get saved and the totals appear as zero. Have made sure that the values are set to recalculate on Edit and New Mode.

Anyone else experienced the same and if so, any leads on how you might have resolved this please. Any leads would be appreciated.


Thanks

Labels: (3)
Tags (1)
Reply
12 Replies
hannes_sambale
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

I'm struggeling on the same error (Nintex Form Calculated Field Issue ). I reported this to the nintex support and a internal bug record is created.

In the meantime the following lines helped me for a workaround:

NWF.FormFiller.Events.RegisterAfterReady(function () { 

NWF$('.ImpactCalculationRepeater').find('.nf-repeater-row:nth-child(2)').find('.nf-hidden-associated-control').each(function () { 

NWF.FormFiller.Functions.ProcessOnChange(NWF$(this));

}); 

NWF$('.ImpactCalculationRepeater').find('.CalculationField').each(function () { 

NWF.FormFiller.Functions.ProcessOnChange(NWF$(this));

});

});

Reply
hcait
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Thank you Hannes


I tried different combinations and could not get it to work. I too have placed a support call yesterday, still to hear back from Support. Sent a reminder again this morning.

Lets hope that we can get a fix to this annoying issue asap. Thanks once again.

Reply
hannes_sambale
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

No Problem.. Did you set the CSS Styles to the different fields? It's important to set two CSS styles the first one ist for the repeating section (ImpactCalculationRepeater) the second one is for the calculation field (CalculationField).

Repeating Section:

Calculation Field:

Reply
hcait
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi Hannes,

Yes I did as below and the calculation field is inside the repeating section.

img.jpg

I have removed the first section of the script as I believe that was not required in our case. nevertheless, I tried the first section of the script as well. but still does not fire any changes.

NWF.FormFiller.Events.RegisterAfterReady(function () { 

NWF$('.rep-section').find('.CalculationField').each(function() { 
NWF.FormFiller.Functions.ProcessOnChange(NWF$(this));

});

});

Still to hear from Support

Reply
Not applicable

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi, Shaju Samuel​, I reached out to Support, and I'm told they replied this morning (the 7th), tho I don't have details. Is there a solution you can update here or are you still working?

Thanks!

Frank

Your community manager

0 Kudos
Reply
hcait
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi Frank,

Thanks for the follow up and Yes, I did hear back from your support and was advised that this issue has been reported by many others as well and they are working on this (probably as a hotfix) and would give us an update asap.

So its not resolved yet but I guess its given the priority as many others experience the same issue. will share with the community if I hear more on this.

Thanks once again

Shaju Samuel

Reply
pramod_nagaraj1
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

I am exactly having the same issue.

We were on 2.5.0.0 version and it worked perfectly fine. I upgraded to 2.9.0.0 the whole thing of the calculated field and repeating section broke. Lucky I have the upgrade on DEV environment.

Hope it's fixed as soon as possible.

0 Kudos
Reply
hcait
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi Frank,

Could you please chase this up for with your Support team please as the last I heard from your support was on the 8th and since then I have sent 2 emails to get an update but none of them was replied to. If you could chase this up, that will be great as we have a great deal of grief because of this and want to see if you could provide us with some kind of hot fix. Thanks in advance.

0 Kudos
Reply
hcait
Nintex Newbie

Re: Calculated Field inside a repeating section cleared on Save

Jump to solution

Hi Frank, I can see that the new version has been released and let me give that a go as the Bug fix have listed the below

Fixed an issue where the calculated value control inside a repeating section may not recalculate correctly for saved values during initial load of the form (00096853, 00115596, 00115336, 00115858, 00115596, 00115818)

So let me give this a try

Thanks

0 Kudos
Reply