public static function create(FormField $field, $submittedData)
    {
        switch ($field->getType()) {
            case 'email':
                $object = new SpecialEmailValidator($field, $submittedData);
                break;
            default:
                throw FormFieldException::noSuchType($field->getType());
                break;
        }

        return $object;
    }