Fixed custom validation and error handling. Fixed styling to only apply red border on fields containing an error. Added form level starRequired option.