Setting up a Contact Form

Thank you for purchasing our add-on for CF7.

As a pre-requisite, you must have Contact Form 7 installed on your site. Please follow their instructions on how to download and install. It’s also recommended you have an SSL certificate as you are handling client’s personal data. You may also want an SMTP mail plugin installed as well, oh and Google Captcha (this can be done through the Integrations menu option under the Contact plugin.

This article will explain how to set up the plugin easily. So once you have downloaded the plugin, login to your wp-admin portal. You will need to make sure you have Mobile Events Manager 1.3.3 installed.

Installing the Plugin

  1. Login to your WordPress administration screen and select the “Plugins” -> “Add New” from the menu
  2. Select “Upload Plugin” from the top of the main page
  3. Click “Choose File” and select the file you downloaded
  4. Click “Install Now”
  5. Once installation has finished, select “Activate Plugin”
  6. Once activation has completed, MEM Enquiry Forms will be fully integrated with Mobile Events Manager (when you set it up)

We’ve added a form for you to capture basic details however, if you want to create your own, please read the guide below.

Creating your first form

  1. On the left of your admin panel, hover over the Contact menu option and then click on Add New.
  2. When the plugin settings load, you need to click on the MEM Events tab first. If it’s not there, you need to make sure you have installed and activated the MEM Enquiry Forms plugin first.
  3. The MEM Events tab will load instantaneously – in order for the plugin to work successfully, tick on the box next to the label Enable Mobile Events Manager on this form. This will basically kick in the code to create an event in the core plugin.

NB: It is probably best to set the Mark New Enquiries as Unattended Enquiry.

  1. Once you’ve done that and given your form a name, click on the Save button in the top right of the window.
  2. When the page has done its thing and reloaded, click back on the Form Take a copy of a field already there so you don’t have to type out the coded bits all the time.
  3. We’ve created a list of shortcodes you are able to use as input fields. If the tick box is selected on the MEM Events tab, this will automatically create an event for you and map the details to the correct fields. If a field is a required field, you need to put required within the shortcode.

Field Name Field Name – if required Field Type Maps To
[mem_first_name] [mem_first_name required] Text Box Client –> First Name
[mem_last_name] [mem_last_name required] Text Box Client –> Last Name
[mem_add_1] [mem_add_1 required] Text Box Client –> Address 1
[mem_add_2] [mem_add_2 required] Text Box Client –> Address 2
[mem_town_city] [mem_town_city required] Text Box Client –> Town/City
[mem_county_state] [mem_county_state required] Text Box Client –> County
[mem_postcode] [postcode required] Text Box Client –> Post Code
[mem_email] [email required] Text Box* Client –> Email Address
[mem_phone] [phone required] Text Box* Client –> Primary Phone
[mem_alt_phone] [mem_alt_phone required] Text Box* Client –> Alternative Phone
[mem_type] [type required] Dropdown – predefined from the Event Types Event –> Event Type
[mem_startdate] [startdate required] Date Field* Event –> Start Date
[mem_starttime] [starttime required] Time Field* Event –> Start Time
[mem_endtime] [endtime required] Time Field* Event –> End Time
[mem_packages] [packages required] Dropdown – predefined from the MEM Packages Event –> Package
[mem_addons] [addons required] Checkbox – predefined from the Add-Ons Event –> Add Ons
[mem_venue] [venue required] Text Field Venues –> Name
[mem_venue_contactname] [mem_venue_contactname required] Text Field Venues –> Contact
[mem_venue_add1] [mem_venue_add1 required] Text Field Venues –> Address 1
[mem_venue_add2] [mem_venue_add2 required] Text Field Venues –> Address 2
[mem_venue_town] [mem_venue_town required] Text Field Venues –> Town/City
[mem_venue_county] [mem_venue_county required] Text Field Venues –> County
[mem_venue_postcode] [mem_venue_postcode required] Text Field Venues –> Postcode
[mem_venue_phone] [mem_venue_phone required] Text Field* Venues –> Contact Phone
[mem_venue_email] [mem_venue_email required] Text Field* Venues –> Contact Email
[mem_clientnotes] [clientnotes required] Text Field Events –> Client Notes
[mem_enquiry_source] [mem_enquiry_source required] Dropdown – predefined from the Enquiry Sources Events –> Enquiry Source
Fields marked with a * are validated fields I.E. a phone number must only contain numbers and the email address field must be in the format of an email address
  1. Once you have created your form, or edited the default form, click the Save button again. After the form has saved, take a copy of the shortcode in the blue box at the top of the form, copy that and paste it into the desirable page where you want your contact form to go.

NB: If you are using a theme builder or using the WordPress Blocks, you need to find the relevant Shortcode block in order for the form to populate.

Please see the documentation for the Contact Form 7 plugin for the other tabs. Yes, you can use the MEM shortcodes in the email template too and when you set up the email To, From, Subject fields.

You must leave in First Name and Email Address in the forms as these two fields trigger the event creation