Custom Input validations

Custom Input validations

  
Hi All,

I just started using outsystems and need some help at input field validations. 

In the "Customer Name" text field i want to add new validation not to accept numbers and special characters. 

Not sure what is the beast practice to add validations. Do we hae any inbuild validation functionality for this type of request or shoule i write new logic using "if loop".

If we have to define logic in "If loop" how can we check that the typedValue contains number or special characters ?

Kind Regards
Pramod. 
Solution
Hi Pramod,

This is more of a technology related thing, so better post such questions in the Tech forum. That said, do you mean client side validations (i.e. the user can't type anything but the characters you want) or server side (i.e. the user can type anything they want, and you check it afterwards + give an error). The former must be done via JavaScript (you could look at the CustomMask forge component, but it's buggy). The latter can e.g. be done via a RegEx.
Solution