helenp - 11:13 pm on Feb 27, 2013 (gmt 0)
Not sure how to resolve this problem.
I use paypal to charge for bookings,
so when the bookingform is filt in, the form submits to a verify page, wich says: dont hit the backbutton....
and of course everybody does not read.
On this page, first a mysql query check its still available as could have been booked while the form was being filt in, then booking is inserted in the the database and last there is an automatic redirection to paypal to pay for the booking.
If the backbutton is being hit in order to go back to form and change some information and then the form is submitted again,
well the booking has already been inserted when form was submitted first time, so a message is displayed saying its not avaiable for those dates, wich can be confusing.
After 30-45 minutes if no payment were done the booking will be deleted.
So I was thinking is there a way to do 2 checkings with diferent messages,
one when page was first submitted to check it still availabe (this I already have) with message, sorry its not available anymore etc.,
and another one that displays a diferent message if its not available due to the backbutton being hit.
Hope I explained myself.