Booking System

Qlim4X 05 Mar, 2009

i have create a booking form and i want to compare the two values of the date fields. is this possible? can i add custom code in the submit button so the user must insert correct dates?
GreyHead 05 Mar, 2009
Hi Qlim4X,

How exactly do you want to compare them? There was a post a month or two ago with a booking form where the second date needs to be after the first; this might help.

Qlim4X 05 Mar, 2009
can you post the link?

i want the second date to be larger than first.

and if it is possible the day difference. and some validation code for the button
Max_admin 06 Mar, 2009

try to use the server side validation with the PHP function strtotime!

ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
GreyHead 07 Mar, 2009
Hi Qlim4x,

The previous thread is here - this should work for you with some changes to the layout I think.

This topic is locked and no more replies can be posted.