Added field validation support to SDTextField/SDNumberTextField.