Use List Lookup Control Output for Rule Creation

  • 16 October 2014
  • 1 reply
  • 67 views

Badge +9

Summary

Nintex Form Rule will not execute as expected when using the List Lookup Control output for the value used in Nintex Rule due to ID-prefix.

 

Resolution

While in the Nintex Form Designer, do the following:

  • Alter the Rule to remove the ID-Prefix by using the replace() runtime function and adding the following RegEx:"^[0-9]+;#"

 

For Example:

  • If 'test' is the first value in the list, the value would appear as: "1;#test".
  • A formatting rule will be created to hide a different control, if the List Lookup Control, "LLUP" has a value of 'test'.
  • The following Rule will be used: replace(LLUP, "^[0-9]+;#", "" ) == "test"

1 reply

Badge +4

Thank you very much for this, it's just what I needed.  I ended up copying and pasting in your rule on the example, 3rd bullet then updated to my lookup control as well as !== and voila!  :smileyhappy:

Reply