I am coming up with my project's validation framework, including preventative error handling. I have been debating as to whether I should limit user input to prevent errors in cases such as prices or other non-flexible fields (i.e. phone number).
- On one hand, I can see it as an annoyance to the user (i.e. is my keyboard working right?).
- On the other hand, I can see it being a benefit in that the user has a lower chance of causing simple errors through formatting problems.
In your experience, which path is right? or is a moderate approach incorporating both based on a situation basis the correct path?