Adding code for the base input so it can be validated.