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.

Date Advanced Field: Disable Past or Same Day Selection

  1. Is it possible to disallow a user to select a past date or same day selection in the Date advanced field? I am trying to use gravity forms as a reservation form, but my client does not want to access reservations for same day (or for in the past).

    Is this possible? Thank you

    Posted 12 years ago on Monday December 19, 2011 | Permalink
  2. Currently there are no built in options to control what a user can and can't select from the datepicker. We do plan on enhancing this in the future, but currently they can select any date.

    The datepicker uses the jQuery UI datepicker which means you can customize this using jQuery if you'd like to customize it. This includes being able to limit what they can select, etc. It does require jQuery to make these customizations yourself.

    Here is the documentation for the jQuery UI datepicker that is used by Gravity Forms:

    http://jqueryui.com/demos/datepicker/

    Posted 12 years ago on Monday December 19, 2011 | Permalink
  3. Great, thank you for the tip Carl.

    Posted 12 years ago on Monday December 19, 2011 | Permalink

This topic has been resolved and has been closed to new replies.