My textbox properties:
Solved! Go to Solution.
your code should work for single line text.
have you checked totalCost variable is correctly populated beforehand? can you you see the value in a form after code is executed?
don't you have multiple controls connected to the same list field?
If you intend to access a control on a Nintex Form using JS, then never use the control properties Enabled and Visible. Especially hiding the control by setting Visible to No no longer renders the control on the form and as such it can't be used in JS. In these cases I always use a formatting rule: