FAQ Q307: How can I prefill the reservation form fields?

First of all, for all your custom reservation form fields you can specify the default value on this page. The country and phone country code fields are by default prefilled based on the IP address of the visitor. You can however enter a fixed value if most of your customers come from a single country. E.g. enter 1 in the phone/mobile phone fields for US/Canada (49 for Germany etc.). Enter the 2-character ISO code for the country field, e.g. US for the US, DE for Germany etc.

If you'd like to prefill reservation form field values dynamically, you can either pass them in the URL of the link to the booking page, or you can set them in the attribute string. You can find out the name of each field by examining the names of reservation form fields with a browser extension such as developer tools for Chrome. Here are some standard field names: resource_id, start_date, end_date, first (first name), last (last name), address, city, zip, state, country (2-character country code), email, mobile_country_param (mobile number country prefix, e.g. 1 or 49), phone_country_param (phone number country prefix, e.g. 1 or 49), user_notes
Back to Frequently Asked Questions