Handling bad and dirty values from business users is the bread and butter of the data cleansing industry. Cleaning user inputs is standard, if you expected to build a database application without having to properly clean user submitted records, you have sent yourself on a fools errand.