Fixing pattern & required attribute fallback.