Community blogs
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
This post intends to demonstrate how a JavaScript/JQuery function can populate a calculated value control dynamically within a Nintex Form. Accessing data by using REST API Service makes dynamic content compulsory.
Here is the form view that shows unpopulated calculated value controls as following.
In order to resolve this issue, I have decided to force calculated values to be recalculated by JavaScript code.To accomplish this, we need to setup following steps.
var hiddenTextBox = NWF$("#" + hiddenFieldPageID);
NWF.FormFiller.Functions.ProcessOnChange(hiddenTextBox);
The calculated value settings as shown below.
If you noticed, I have added the 'hiddenField' control into the fuction as a parameter, which causes the calculated value is triggered when the control has been updated. Finally, calling of JavaScript function ProcessOnChange refreshes the controls' value again.
calculated value control‌ dynamic population‌ resize at runtime
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.