Preferences input validation