<form>
    <div class="form-group field-d02" data-id="construction_start_date">
        <label for="construction_start_date" class="control-label">What day do you plan to begin construction?</label>
        <div class="field-wrapper">
            <input data-formtype="d02" id="construction_start_date" name="construction_start_date" type="date" step="any" data-required-error="You need to enter a valid date." class="length-15">
            <div class="help-block with-errors"></div>
        </div>
    </div>
</form>
<form>
  <div class="form-group field-d02" data-id="{{ id }}">
    <label for="{{ id }}" class="control-label">{{ title }}</label>
    <div class="field-wrapper">
      <input data-formtype="d02" id="{{ id }}" name="{{ id }}" type="date" step="any" data-required-error="You need to enter a valid date." class="length-15">
      <div class="help-block with-errors"></div>
    </div>
  </div>
</form>
{
  "title": "What day do you plan to begin construction?",
  "id": "construction_start_date"
}
  • Handle: @date-field
  • Preview:
  • Filesystem Path: src/components/04-forms/field-types/date-field/date-field.html

There are no notes for this item.