Lodgix.com Manuals & Tutorials

Setting Up Your Website Email Form to Work with Lodgix Inquiry Management

Currently, the Lodgix inquiry management tool will only work with WordPress websites that utilize Gravity Forms for inquiry forms. Additionally, if your website is developed using PHP, your developer can utilize some provided code at the end of this tutorial to work with the Lodgix inquiry management system.

Instructions for Gravity Forms

Download the form provided by Lodgix

Go to Inquiries > Setup Items

Cick on "Download Form for Import"

Within WordPress, go to Forms > Import / Export

Import the Form in to Gravity Forms

Replace your current form with the new form from Lodgix

Your inquiries will now flow in to Lodgix

You must be using the Lodgix WordPress Plugin

All of the instructions below are details on how Gravity Forms can communicate directly with Lodgix. This would allow all of your inquiries originating from your website to flow in to the Lodgix.com Inquiry Management system.

Within WordPress go to Form >Notifications >Message and then configure the form.

Email Format:

Subject: Inquiry from …

Message:

Name: [NAME_VARIABLE]

Arrival Date: [ARRIVAL_VARIABLE]

Departure Date: [DEPARTURE_VARIABLE]

You will have to configure Gravity Forms with the exact variable for each field.

Example:

Name: {Name:2}

Arrival Date: {Estimated Arrival Date:16}

Departure Date: {Estimated Departure Date:16}

The variables can be selected from a dropdown box in gravity forms (see red arrow above).

Add the Lodgix Inquiry Email as the "Send To Email" address for the Gravity Form

Dynamic field population for "Property" form field

IF you are using the Lodgix WordPress plugin and IF you want to use Lodgix Inquiry Management with your Gravity Form, you must have a field in the form which either the guest chooses which property they are inquiring about, or the plug-in will populate the field if they are inquiring from a specific property page. If a property is not auto-filled by the plug-in or by the guest, the form contents will simply be submitted directly to the Lodgix subscriber, bypassing the inquiry management system.

Create a drop down field and title it "Rental Property" or "Property of Interest", or give it a similar title.

Click on the "Advanced" Tab

Under "Admin Label" enter "Property ID"

Check "Allow field to be populated dynamically"

For the Parameter name enter "lodgix_property_id"

This will populate the dropdown with all of the properties that you have setup within Lodgix. This is a nice feature if you have a lot of properties and your inventory experiences churn, the list of properties on the form will change depending on what properties are currently enabled within Lodgix.

Non-WordPress Form Instructions

This will work in any website as long as the email Lodgix received is in a form similar to the example below.

Start Date and End Date should be sent using the format set in Date Format: