{date_dmy}
I want to make default value date field to tomorrow.
How can i do that?
Thank you
{date_dmy}
I want to make default value date field to tomorrow.
How can i do that?
Thank you
Can you post a link to your form so I can see how you're using the date? Do you just want the date picker to default to tomorrow's date when it opens? Or are you using the date drop down? Or are you looking to do something else? Please post more details. Thank you.
http://coolasiatravel.com/about-bangkok/
Now i use the date drop down because date picker is not work with my site.
Thank you.
The date picker is probably not working due to a JavaScript or jQuery error. But that's a separate issue. However, it will be easier to start with the default date of tomorrow if you do use the date picker, rather than the drop downs. Can you put the date picker back on your form and post a link to the page when that's done, so we can see what the conflict is that is preventing it from working?
Thank you.
I have a similar question, I have a form that requests for service. Is there I a way to disable "todays" date from being selected. So only the next day is available to request service.
http://www.baystatesepticma.com/dev/schedule-your-septic-pumping/
I'm in the same boat. Is it possible to have a default date? For example if I want it 15 days, or 30 days ahead by default?
@supermedia, you can restrict the date range to allow only future dates. Please see the jQuery UI datepicker documentation: http://jqueryui.com/demos/datepicker/#min-max
@cortiz001, same instructions, but please check this explanation: http://stackoverflow.com/a/3829064
@Chris Hajer, Thank you for your reply! Is there a way to do this from the Form Editor in Gravity Forms? After viewing the link provided, I have to add some custom javascript programming to achieve this. Is that correct?
There is no way to do this from the form editor. Yes, JavaScript is required. It's not JavaScript programming really, just setting parameters.
There are examples in the forums here and online as well. You can set the default date to a future date, and can disable dates in the past, dates before a certain date, etc.