     init(with name: String, and idPrefix: String? = nil) {
         self.label = UIElement(element: .label)
         self.input = UIElement(element: .input)
+        self.elementWrapperDiv = UIElement(element: .div)
         
         let casedName = String(name.characters.first ?? Character("")).uppercased() + String(name.characters.dropFirst()).lowercased()
         let lowerCasedName = name.lowercased()
+        
+        elementWrapperDiv.attributes["id"] = idPrefix == nil ? lowerCasedName : idPrefix! + "-" + lowerCasedName
         
         label.attributes["for"] = lowerCasedName
         label.attributes["id"] = idPrefix == nil ? lowerCasedName + "-label" : idPrefix! + "-" + lowerCasedName + "-label"

    /// The text input for the form. The type for the input could be `email`, `password`, or `text` depending on the name of the form element.
    let input: UIElement
    
    /// Creates a `UIFormElement` that contains a label and an input.
    ///
    /// - Parameters:

        } else {
            input.attributes["type"] = "text"
        }
        
        elementWrapperDiv.add(label)
        elementWrapperDiv.add(input)
    }
}
