Skip to main content
Nintex Community Menu Bar
Question

K2 Custom Control in Passes Validation event

  • May 23, 2023
  • 1 reply
  • 77 views

Forum|alt.badge.img+2

Hi,

 

i created a searchable dropdown as a custom control. how i can integrate that control on below event of passes validation. so that if i didnt select the value the control will trun into red.

 

 

Regards,

Translate
Did this topic help you find an answer to your question?

Forum|alt.badge.img+10
  • Nintex Employee
  • June 6, 2023

@fharoon 

If you check the ‘Validate’ option in the “if the View passes validation” rule, then usually a validation pattern has to be defined on the control, such that if its true then it passes validation, if it is not, then flag it in red and throw the validation Message.

https://help.nintex.com/en-US/k2five/userguide/current/Content/Create/K2Designer/Controls/ControlValidation.htm

 

For custom control, this appears to be the ValidationPattern and ValidationMessage properties defined in your Definition.xml as per:

https://how2k2.wordpress.com/2017/03/28/k2-custom-controls-for-dummies-part-1/

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings