Added the links to the error styles
Added the necessary rules and messages for validation