I've been trying to solve this for several days and can't seem to work it out. The design calls for a page that has the standard form, no calendars. No problem with that. If the user wants to look at the next 12 months and see what's available we want a link to a page that display the calendars. I've got a page that does that.

Here's the part I haven't been able to work out. They would like a booking form below the calendars so that if you see a date you want to book, you're ready to go.

I can't seem to work out how to generate the booking form, since it's not on the node page. It seems like I should be able to call hotel_booking_form($node) passing the correct nid, but that generates an error at $form['body_field'].

I know you can use the search form as a block, but that adds a lot of extra complexity to the system. We are only managing 6 rooms, the single calendar is enough info.

Any chance you could point me in the right direction?

Thanks!

Comments

Status:Active» Closed (fixed)

Why is it that as soon as you put a question out you stumble on the solution? I figured it out, I had to uncheck the " Display booking form on hotel room type node page?" and then I was able to get the form to print.