Websites

Booking request form for your website that offers only free times

A booking request form for a website lets a client pick a service and a time and send the request to you to confirm. On OneCraft the agent writes it with the bookings guide: services, staff and working hours, a booking page that shows only free times, and a database rule that refuses double bookings.

Create a website with OneCraftServices, staff and hours, the booking page step by step, how double bookings are refused, confirming requests, and classes or tables with a capacity.

Services, staff and hours

Services have a name, a length in minutes, a price and a description. Staff can have a bio and photo. Availability rules set working hours per weekday for each person or for the business, and time off blocks dates. All of these are edited in your site's admin and readable by anyone.

The booking page

/book walks the client through a service, a staff member when there are several, a day on a month grid, the free times, and their details. Free times are worked out from the hours minus the day's bookings. The confirmation page shows the time and your note that you confirm by email.

No double bookings

Bookings are written only by a database function, book_slot, which locks the staff member, checks the hours and any overlap, and then adds the booking. A constraint on the table also refuses two bookings at the same time for the same person. Clients cannot insert or change bookings directly, so the time cannot be edited from the browser.

Requests and confirmations

New bookings arrive as requested. In the admin's day and week view you confirm, cancel or mark them done, and edit services and hours. A signed-in client sees their bookings on /account and can cancel one while it is still in the future.

Classes, tables and waitlists

For tables or classes the guide uses slots with a capacity and reservations for a party size, plus a waitlist when a slot is full. A phone app gets a Book tab with the same steps.

How it works, in three steps

  1. Step 1

    Describe what people book

    In the generator, list the services, their lengths, the staff and your hours; or ask in chat for bookings on a site you already have.

  2. Step 2

    Give it a database

    Every plan gets a hosted site database, or you can connect your own Supabase account in the site's Settings, Database card.

  3. Step 3

    Check it and publish

    Sign in to /admin with the admin account the agent reports, try it in the preview, then publish from the builder on a paid plan.

Limits worth knowing

Questions people ask

Can clients book without creating an account?

Yes. The booking function accepts guests, who give a name, email and phone on the details step. Only signed-in clients get the /account list with Cancel, and only they can be sent a confirmation email, because the site's mail goes to a signed-in person's own address. Guests see the confirmation page with their time.

What stops two clients taking the same time?

The database. book_slot locks the staff member's row while it checks the hours and overlapping bookings, then adds the booking, so two clients pressing at the same moment cannot both get the time. A table constraint also refuses overlapping times for the same person, ignoring cancelled bookings.

Can I approve each booking before it is final?

Yes. Bookings start as requested, and the confirmation page tells the client you will confirm by email. In the admin you change it to confirmed or cancelled, then email the client from your own address. The time stays held while the request is open, so nobody else can take it.

Will bookings show in my Google Calendar?

No. There is no live calendar feed, so bookings are not sent to Google Calendar or Outlook, and events in those calendars do not block times on the site. Use the admin's day and week view as your diary, and add time off in the admin for days you are away.

Can clients get a reminder before the appointment?

Only signed-in clients. A reminder mail can go to a signed-in person's own address, and in-app notifications show in a bell when they visit. Texts and pushes are not available. In a phone app, a local reminder can be set on the device when the booking is made.

Can I take a deposit when someone books?

A deposit is its own capability, built on Stripe Checkout on your connected account, so ask for deposits in the brief or in chat. It needs a paid plan. Without it, bookings are requests with no payment, which suits most appointment businesses.

Make your own website

The button opens the generator with this use case already described. Change the wording to match yours, generate, then edit anything you like.

Create a website with OneCraft

Not ready to start? See the AI website builder page first.

Related pages

More finished work of this kind is on the website examples hub.

Sources

Written and checked by the OneCraft team. Last checked .