Email address
Depends on email
This field will become required if the email field is filled out
Choose an option
Select an option
Option 1
Option 2
Option 3
Depends on email or select
This field is shown if the email field is filled out or if the
select
has Option 3 chosen.
Depends on email
This field is shown with a green border if the email field is filled out. It’s got a red border if it should be hidden.
Depends on email being "foo@bar.tld"
This field is shown if the email field is filled out specifically with the text "foo@bar.tld"
Choose an option
Option 1
Option 2
Option 3
Other
Other value
Choose an option
Option 1
Option 2
Option 3
Other
Other value
Shown if there’s an email value
The only difference from previous examples is that the
label
&
input
elements are not nested.
Shown if
there’s an email value
The only difference from previous example is that the label now wraps the
input
as well. This instance has a red outline when disabled.
Submit