Back to index

Input

 

Select

 

 

Textarea

 

Radio

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

 

Checkbox

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

 

Nested checkboxes

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

 

Linked elements

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

 

Confirmation / matching fields

Email

Password

Password with strength check

Password strength:

Data / text

 

Calendar - future dates only

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

Calendar - past dates only

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

Calendar - all dates

Standard (not validated)

Validated (validated with default form error)

Validated (validated with bespoke error)

 

International Phone Numbers

 

Autocomplete - see autocomplete="" value attribute on each form element (all validated with bespoke error)

 

Hidden Input. NOTE: in this case, <form id="uniqueId01"> - that's important when it comes to the >input id=""> attr

INSPECT ME!

CODE: <input type="hidden" id="uniqueId01-input-hidden" name="inputHidden" value="form data value">

INSPECT ME!

CODE: <input type="hidden" id="uniqueId01-preferenceType" name="preferenceType" value="NWL">

IMPORTANT: when using the hidden input for newsletter "preferenceType", the <FORM> 'action' attribute determines which preference is being added:
eg: action="/crm/signup-newsletter-submit/VSO", where VSO is the productId being added as a preference