black friday sale

Custom Fields
Re-Envisioned
Support General Regarding date field validation

  • This topic is empty.
  • Creator
    Topic
  • #17378
    calpaq
    Participant

    Dear Anh,
    As I told you I have many date fields in a form and I have been using them for years making them readonly so the user can not do any syntax mistake in a question https://metabox.io/support/topic/dont-show-date-picker-for-readonly-fields/ and you forwarded me to your answer that was saying no readonly feilds will dispaly datepicker https://metabox.io/support/topic/readonly-date-input-still-shows-datepicker/
    Following that I removed readonly attribute and the field is no longer field, this field is date field (used from the metabox) and now I can gladly say that datepicker is popping in this field and its been again useful also used the pattern validation here so the user input will be correct but, there is another glitch here that my datepicker is for date of birth field and I only want the date between certain range and when I type the date out of range it is still accepted how can I solve this. Please give me the answer asap so that I can complete my work in time.

    Thanks & Regards,
    Calpaq

  • You must be logged in to reply to this topic.