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 Picker Start Date

  1. Carson
    Member

    Is it possible to make the default value of the date picker field tomorrow's date?

    Posted 9 years ago on Tuesday March 1, 2011 | Permalink
  2. Yes, you can customize the jQuery datepicker to default to certain dates, exclude weekends, show ranges, etc. by manually adding some script to your theme/page template.

    The datepicker component is straight from the jQuery UI library so you can refer to their documentation for how-to's.

    http://docs.jquery.com/UI/Datepicker

    Also, here's a link to another thread that discussed something similar.

    http://forum.gravityhelp.com/topic/how-to-highlight-current-date-or-future-date-in-jquery-datepicker#post-5606

    We do plan on adding some of these options to the UI in the future.

    Posted 9 years ago on Tuesday March 1, 2011 | Permalink
  3. Carson
    Member

    Thank you!

    Posted 9 years ago on Tuesday March 1, 2011 | Permalink
  4. coburnenterprises
    Member

    This would be an awesome addition to the UI - I am so excited about the "reservation" form I've been able to create here: http://tsbcomplete.com/nationalparkfloattrips/jackson-float-trip-reservations-rates/ but it would be totally complete if I had a way (via UI) to add which date the calendar starts on in the conditional logic I am now using to show the date picker.... Thank you so much for this incredible toolbox.

    Harmony

    Posted 7 years ago on Thursday February 28, 2013 | Permalink
  5. There is currently no way via the UI to do that. The only way right now is via the JavaScript code.

    Posted 7 years ago on Monday March 4, 2013 | Permalink