Hello all, i got a problem with a reservation system i bought from a website.
It's a Joomla Component and i try to develop it to do the job i want.
So, here's the deal, what i want to do and what i have.
There are 2 fields that u can select the "From Date" and the "To Date" where you select the dates. You can type the dates, or you can select them from the calendar that pop-ups.
So far so good.
Now, what i have to do... i want the guest/client to be able to book a room from today+5 days.
So let's say that today it's 15/1/2011. The client will be able to make a booking AFTER or AT 20/1/2011.
What i did, was to predefine the value of the textbox that contains the date and they are working fine (they show the dates i want) but if the client/guest choose a date not "acceptable" (17/1/2011) the system does not stop and continues to the reservation, telling him that rooms are available.
I'd like to stop the reservation proccedure and give him an error.
You can check the webpage at http://akti.thessite.gr (Sorry if that counts as an Adv.), it's still under development ofc. and the source code it's attached in txt.
ps: Sorry for my English, it's not my main language!
ps2: I hope you understand from my explenations..