Last Modified: Monday, Feb 18, 2019

Basic input partial (text / num / tel / email / url)

Required:

  • id: A unique identifier
  • name: The descriptor for the input’s value on form submission
  • type: The type of input (text, email, num, tel, url)
  • validation: A js- class(es) used to identify which validators to apply to this input.
  • error: The error message you’d like to display

Optional:

  • class: (Located in .Site.Data.classes)
  • placeholder
  • label

Usage:

Use Case: Short answers