Validation and animation