[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
(26)
Published on 14 Nov by Caio Santana Magalhães
26 votes
Published on 14 Nov by Caio Santana Magalhães

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/