forminput validation fix and styles updates