Restrict special characters and spaces from input

I use regex when processing the input via a workflow. It’s probably the most common way to go about it. You could create a JS bridge using the Toolbox plugin to listen for specific key combinations (shift+2, etc.) and trigger a popup/alert.