Add pre-selected agent on booking form

  1. Home
  2. Docs
  3. Booking Form
  4. Add pre-selected agent on booking form

Add pre-selected agent on booking form

For instance, if you want to expedite the booking process for a specific agent or service on a dedicated page, you can seamlessly integrate a “Book Appointment” button or form.

This functionality can be achieved with ease by incorporating the ‘selected_agent,’ ‘selected_location,’ and/or ‘selected_service’ attributes into your [book_button] or [form] shortcode. Simply specify the ID of the agent or service you intend to pre-select. To retrieve the agent and service IDs, you have two convenient options: you can find them in the URL while on the service/agent edit page or as the last parameter on the edit form within the admin panel.

NOTE:

Same attributes can be used when you add class to an element.

Tags , ,
Was this article helpful to you? No Yes

How can we help?