PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Disable Date Validation ... or allow a "00" entry

  1. PaulD
    Member

    This is a bit of a weird request, so no surprise I haven't found any solution anywhere...

    I'm using the Date Field option (DD/MM/YYYY) on multiple forms.

    I need "00" to validate for the DD or MM and "0000" to validate for the YYYY

    So if only a partial date is known.... 00/09/2012 or 00/00/2012 or 23/09/0000 would validate ok.

    I had a look at Gform_validation but my attempts just break all validation :-/

    Any help would be much appreciated...

    Posted 12 years ago on Sunday September 23, 2012 | Permalink
  2. The built in date validation will not work as you as you need it to. You will need to use individual inputs and then validate the fields individually. Please post your best attempt at validating the input with gform_validation and a link to the form where this is being used, and we will try to help you.

    Posted 12 years ago on Monday September 24, 2012 | Permalink