Skip to main content

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

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));

});

});


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.


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:


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 sad.png


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


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.


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.


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


Hi Shaju,

i tried the configuration without the first lines and in my case its also not working. Maybe you try it one more time with all the lines.

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

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

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

}); 

NWF$('.rep-section').find('.CalculationField').each(function () { 

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

});

});


Thanks Hannes.

I just downloaded the latest build from the Product Downloads and the issue seems to be resolved now.  The values does not get cleared. So its all good now.

Thanks once again for your willingness to assist. Much appreciated.


Thanks Shaju Samuel​, the new version of the Nintex Forms has resolved the issue.


Reply