Skip to main content

EmailInput

This class represents an HTML email input element used within web forms. It specifies the input type as email and utilizes a dedicated template for rendering the widget in a user interface.

Attributes

AttributeTypeDescription
input_typestring = emailThe HTML input type attribute value used when rendering the widget, set to "email" to trigger browser-side email validation.
template_namestring = django/forms/widgets/email.htmlThe file path to the HTML template used for rendering the email input widget.

Constructor

Signature

def EmailInput()

Signature

def EmailInput() - > null