Skip to main content
Nintex Community Menu Bar

Controls expressions arent permanent?

  • March 25, 2015
  • 0 replies
  • 2 views

RaymondJVR
Nintex Employee
Forum|alt.badge.img+13


 

Symptoms


Controls expressions arent permanent?
 

Diagnoses


I have a control with an expression and it appears that when I transfer data to the control it will now contain that value instead of what the expression returns. Shouldnt the control always display the expression value?

I simply tested this with a datalabel with an expression that returned [Test] and a button that transfer data to the data label [Changed]. I expected it to stay [Test], but its changed to [Changed] when I click the button.
 

Resolution

Workaround:
create a button at the bottom of the form that will scroll the page back to the top when clicked (transfer JavaScript to a data label), but it will only work once as the data label will be cleared after the JavaScript has been executed. However I've also included a disabled rule that when enabled will ensure that the JavaScript keeps working by clearing the data label text when its text is changed