Add intelligent validation to keyed inputs