Events Made Easy Forums How do I … limit a date field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58120
    Anonymous
    Inactive

    I use a custom field to ask for a birth date (Type: Date (HTML5).
    Is it possible to limit the range of this field?
    So that the applicant can not enter a date >05/05/2010 for example?

    #58123
    Franky
    Keymaster

    Add in the “HTML field attributes” for that field the minimum date, e.g. min=”2017-04-01″ (including the ‘min=’ part, so the whole string should go in there)
    See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top