• 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: Min Date with 2 calendars

Min Date with 2 calendars 6 years 4 months ago #37615

  • emjean24
  • emjean24's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi, (sorry for my froggy english)

i'm trying to create a booking form with 2 calendars, in the first one i've set the Min Date with this code :
//<code>
return date('m/d/Y', strtotime("today"));
//</code>

The Min Date of the second calendar should be the chooden date + 1 day of the fist calendar.

My fields name : date_arr for the calendar n°1 and date_dep for the calendar n°2

Thanks for your answers.
The administrator has disabled public write access.

Min Date with 2 calendars 6 years 4 months ago #37656

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 559
  • Thank you received: 102
Hello,

You can edit your first calendar field (date_arr) > go to Validations tab and set the Date Modifier option to 'Selected date becomes 'date_dep' minimum date'.

More on this here:

www.rsjoomla.com/support/documentation/r...fields/calendar.html
The administrator has disabled public write access.
  • 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!