Modified widget and validation.