Select field with two possible values
Radio button with two possible values
Option 1
Option 2
Checkbox: value either on or off
Checkbox
Input restricted to max 5 characters
Disabled input field
Field1: exactly three lowercase characters(^[a-z]{3}$)

Field2: exactly three digits(^[0-9]{3}$)

Field3: letters, numbers, and space only(^[a-zA-Z0-9 ]*$)

Field4: enumeration of numbers (^(one|two|three|four|five|six|seven|eight|nine)$)

Field5: simple zip code (^\d{5}$)

Field6: zip with optional dash four (^\d{5}(-\d{4})?$)

Field7: US phone number with or without dashes (^[2-9]\d{2}-?\d{3}-?\d{4}$)