description

Use our free hotel reservation script to receive room reservations and collect your guests contact details and their preferences.

There are number of supported fields that you can manipulate via the Source Code - date pickers, drop-down menus, text boxes and fields.

Part of the fields are validated and required by default. You can add your own logo or customize the reservation form as you wish. If you have questions, need help/customization or just have a suggestion for improvement please use the leave us a comment form below.

Do not forget to also check our fully supported hotel reservation system out.

download

You can download 1 PHP script per day

how to install

Follow these steps to embed the reservation form on your website:

1) download the zip file and unzip it.

2) create a folder on your website, for example www.website.com/reservation-form/ and then copy all the files into that folder.

3) edit script.php file and enter the email address which should receive reservation details on line 6

define('_EMAIL_TO', 'email@hotel.com');

4) open www.website.com/reservation-form/ using a web browser. The reservation form should load.


You can change the logo and the background image used in the /img/ folder.
149 Comments to "Hotel Reservation Form"
  • Gerish

    Gerish

    March 15, 2017 at 07:59 am

    Hi I'm having problems with the date picker as it is not showing the drop down date picker when you click on it nothing happens but i can see the one on your website is working fine. I even tried to open the downloaded version directly on the browser but still nothing - what could be the problem.

  • Ezequiel

    Ezequiel

    February 1, 2017 at 07:27 am

    Hi dear dev's!
    You have created a beautiful "simple & easy" code, so simple to set up with a few basic solid knowledge. Thank you so much for bring us this to the world, I could imagine it but I cound't programming. Again, so so much.

    I have got a litle question:
    > How can I change the date format (in the form and the mail) to DD/MM/YY ?
    (spain type)


    One more time, thank you so much for the script ;)

    • Sasho Valkanov

      Sasho Valkanov

      February 2, 2017 at 07:30 am

      You need to edit js/main.js file. There is a line
      format: 'm/d/Y',

  • John Taylor

    John Taylor

    December 4, 2016 at 10:05 am

    Great script!
    Unfortunatelly seems to be datepicker not working 100% correctly...
    Is it a known issue?
    Thank you for your help!

  • jagadeesh

    jagadeesh

    November 26, 2016 at 14:43 pm

    i am unable to download the code

  • Sandip

    Sandip

    November 24, 2016 at 20:10 pm

    Hi I implemented your form on my site but its not working. please suggest.

    http://aamahomestay.com/reservation-form/index.html

  • Sleme

    Sleme

    October 28, 2016 at 13:57 pm

    Hi, I have problem with date picker - selecting date to. It's only available till end of the Year 2016, i can't pick date in 2017.

    Thank you in advance.
    Marko

    • Sasho Valkanov

      Sasho Valkanov

      November 1, 2016 at 09:25 am

      Do you see any error in browser console when you click on next month arrow? Does this happen for you on our demo?

    • Sleme

      Sleme

      November 2, 2016 at 09:18 am

      On your demo site I get the same result and Firebug doesn't show any problem or error.

  • Rejhan

    Rejhan

    October 10, 2016 at 14:26 pm

    How can i use this script in a commercial use, for example i want to include it in my wordpess theme selling it online? Do i need to include also license agreement or reference the script to its developer?

    Thanks in advance :)

    • Sasho Valkanov

      Sasho Valkanov

      October 12, 2016 at 21:00 pm

      Our free scripts come with GNU licence and you can use the code in your project. We will appreciate if you put a reference to us.

  • Maarten

    Maarten

    August 12, 2016 at 19:53 pm

    Hi there, first of all thanks for the awesome script. I just installed it and I noticed that while gmail is going through nicely, mails sent from yahoo are not coming through. Is there something I can do about that?

  • sruthi

    sruthi

    August 8, 2016 at 10:21 am

    i need to design a mail function after reservation of form...i need to change the style in email content...plss tell me how to do

  • priya

    priya

    August 8, 2016 at 10:03 am

    i need to design a mail function after reservation of form...i need to change the style in email content...plss tell me how to do

    • Sasho Valkanov

      Sasho Valkanov

      August 8, 2016 at 10:18 am

      Email content is stored into $email_content array which is built on line 28 in script.php file. Then on line 61 where the mail() function is executed the array is transformed into a string.

    • priya

      priya

      August 8, 2016 at 11:29 am

      how can i design that form ..will u pls explain..........i receiving mail content one by one i need to change dat design.....will tell me the procedure
      pls

next

Add your comment

Captcha