Testing - Email

Pristine

<hx-email-control>

Optional

<input type="email">
:valid :invalid

Required

<input type="email" required>
:valid :invalid

Dirty

<hx-email-control hx-dirty>

Optional

<input type="email">
:valid :invalid

Required

<input type="email" required>
:valid :invalid

Visually Invalid

<hx-email-control class="hxInvalid">

Optional

<input type="email">
:valid :invalid

Required

<input type="email" required>
:valid :invalid

With Placeholder

<input type="email" placeholder="Please Enter Email" />

Layout

Extra elements should not be visible.

input + label
input + label.hxRequired
input + label.hxOptional
input + label.hxRequired.hxOptional
input + label + div
DIV