Skip to main content

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,

@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/


Reply