• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Calender, make a date three days later

Calender, make a date three days later 11 years 5 months ago #25531

Hello,

I'm new here on the forum and have a question:

On a reservation form you have to fill a date when you arrive,
but this date may not yesterday or longer ago.

I found now the following:

$ form layout = str_replace ('{' mindate ': '01 / 18/2011'} ',' {'mindate ":" "date (' m / d / Y ')."'.} ", $ form layout);
( I put above under "scripts" and $form layout )

It allows me to choose the calendar for today, tomorrow and in the future.
Yesterday and further back in time can not be clicked.

I like that the first date that you can click on at least 3 days. So if today is Monday may be booked no earlier than Thursday (3 days later).

Can anyone help me?

Gerrit Touw
The administrator has disabled public write access.

Calender, make a date three days later 11 years 5 months ago #25546

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

You can use the first example provided in the following article:

www.rsjoomla.com/support/documentation/v...-calendar-field.html

You will have to replace the number of days into("+3 days").
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
The following user(s) said Thank You: GerritTouw
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!