Articles on: Even Type Options

How to pre-fill booking form details?

Applicable for v0.9.5.4+

By default - Logged in user's name and email will be pre-filled in the booking form except for WPCal Admins.

How to pre-fill booking form details using URL param



For example: https://example.com/consultation/ is the booking URL.
Then you can add params wpcal_name for invitee's name and wpcal_email for invitee's email.
Please url encode the param values.
It will look like ?wpcal_name=John+Doe&wpcal_email=john.doe@example.com
Final URL will be https://example.com/consultation/?wpcal_name=John+Doe&wpcal_email=john.doe@example.com

If you collect these details in another form before showing the WPCal booking widget, you can use the above method to pre-fill the data.

Right now, Name and email are only pre-fillable.

Updated on: 12/10/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!