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.