[Custom Masks] How to restrict alphabets and integers and allow only special characters using masks?

[Custom Masks] How to restrict alphabets and integers and allow only special characters using masks?

  
Forge Component
(24)
Published on 19 Sep (4 weeks ago) by Marcelo Ferreira
24 votes
Published on 19 Sep (4 weeks ago) by Marcelo Ferreira

I want to allow only special characters and spaces in an input field. As we give "a" for alphabets and "9" for numerics and "*" for alphanumeric values in masks, what should we give for special characters and spaces?

Consider using this component in order to restrict characters on input fields:

https://www.outsystems.com/forge/component/1002/restrictchars/