Hi LabView5,
which LV version do you use?
Have you ever used the event structure before? Have you looked at the examples for the event structure?
You can react on events (like: value change, mouse move, key press) using this structure! So when the user presses any of the "forbidden" keys you can react to this input.
Btw. you can set your string input to "update while typing" allowing you to poll the string control and search for "forbidden" chars. But the event structure is more efficient here...
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019