Control validation ( k2 designer )

  • 23 May 2022
  • 1 reply
  • 90 views

K2 is new to me.

 

I'd like to validate a textbox so that no numbers can be entered. I've only found patterns and expressions (which I'm still trying to get used to) that only check after you've entered something into the field but still allow numeric values to show. I'd like it so that when a user tries to enter a numeric value, it rejects him and displays and indicates that only alphabets are permitted.


1 reply

It sounds like a combination of a validation expression on the control and a validation condition in the rules tab will do what you need.  The control doesn't evaluate the entered data until the user moves off the control, but then it highlights it and displays a message.  If the user doesn't correct it, you can use a validation condition in the rule designer to confirm all validation rules have passed and show a message to the user if not passed.


 



 

Reply