Hi, I have a nintex form that uses custom javascript to get values from a repeating section collection, adds them up, then places the value in a single line text field. Everything works as needed until I need to read that updated single line text field that gets changed by my javascript.
Here are some details of how I update the single line text box:
- I name the Client ID JavaScript variable name as ‘totalDuration’ like so
- Then in my custom javascript I update the textbox like this:
var showDiff = NWF$('#'+totalDuration);
showDiff.val(totalDiff);
This successfully updates the textbox. The problem is when I refer to the text box by its name “txt_totalDuration” in a rule, a variable, or calculated field, it is not able to read the updated value.
Does anyone have an idea how I can fix this? The line of js that updates the value is in a async function. I have also tried updating a calculated field instead of a textbox and that does not work.
This is in Nintex Forms for Sharepoint 2019. Version 5.2.4.40
Best answer by MegaJerk
View original