TUTORIAL
How to create a quick-booking form with the Wix Bookings API (Part 1/2)
Learn how to create a quick-booking form for your services using the Wix Bookings API. In this video, you’ll build a form that lets clients quickly book an appointment for the current week. You’ll use a lightbox, text and a variety of user input elements to create and design the form. Then, you’ll create a new collection, “Pending Appointments”, to store client info and manage the status of your booking requests (i.e. pending, approved or dismissed). You’ll add several functions to ensure that when clients make a booking request, they’ll only see available dates and times—all of your requests marked as “pending” or “approved” will be filtered out and not appear as an option in the form. When a potential client submits a booking request, all their info will appear in your “Pending Appointments” collection as a new item and their status will be labeled as “pending” until you approve or decline their request.
Coding | 17:25
Learn how to create a quick-booking form for your services using the Wix Bookings API. In this video, you’ll build a form that lets clients quickly book an appointment for the current week. You’ll use a lightbox, text and a variety of user input elements to create and design the form. Then, you’ll create a new collection, “Pending Appointments”, to store client info and manage the status of your booking requests (i.e. pending, approved or dismissed). You’ll add several functions to ensure that when clients make a booking request, they’ll only see available dates and times—all of your requests marked as “pending” or “approved” will be filtered out and not appear as an option in the form. When a potential client submits a booking request, all their info will appear in your “Pending Appointments” collection as a new item and their status will be labeled as “pending” until you approve or decline their request.