Sponsor Contact Form
If you would like your site visitors to be able to send a message to Sponsors, you can add a contact form. This means that when the visitor clicks on the Sponsor's name in a Sponsor Profile List, they will find the option to contact this sponsor.
Note 🗒️
Messages sent by site visitors will need to be passed on to Sponsors manually. For more details, click here.
Configuration
To set up this feature, follow the step-by-step guide below.
- Create a new page to hold the contact form (you will need to return to this once the subsequent steps have been completed).
- Create a new page to act as a Thank You page once the form has been submitted.
- Create a Web Form to act as the Sponsor Contact Form.
- Return to your page from step 1 to complete the configuration.
- Configure the Sponsor profile/ Sponsor Profile list to Use Sponsor Contact Form.
Create a new page for your web form
The form that you will create during this process will be housed on its own page.
Create your new page by navigating to Website > Pages > +Add Page.
You will return to this page later in the process to complete the Contact Form configuration.
For more information on creating pages, click here.
Create a new page for your Thank You Page
Next, you need to create another new page, which will act as your Thank You page, showing a message thanking the user for their submission.
For more information on creating pages, click here.
Note 🗒️
This is an important step, as this will clearly indicate to the user that their message has been successfully sent; without this page, you may receive duplicate messages from users who were not aware their initial message had been delivered.
Create a Web Form to act as a Sponsor Contact form
Navigate to Website > Forms > Web, and select +New Form.
Add all desired fields to the form.
Then, add an additional textbox field, label this section Sponsor, and set it to Disabled.
This field ensures the message from the contact form will include the name of the sponsor for whom the message is intended.
The Web Form's Submit button can then be configured to redirect to your Thank you page. You also have the option here to set a notification to event administrators to inform them when this form has been submitted.
Complete the configuration of your Sponsor Contact Page.
When you return to the page created for the Sponsor form, you now need to add the content you have created, and an Embedded Widget. Adding this widget ensures that your Sponsor field (that has been disabled) contains the correct sponsor name.
- To add your Sponsor Contact Form, select +Add Content > Web Forms, and select your newly created form.
- To add the Embedded Widget, select Widget > Embedded Widget from the Select Contact pop-up. Click on +Add Embedded Widget.
- Give the embedded widget a name, and copy the following code into the Widget embed code box.
<script> var sponsorName = getUrlParameter("sponsor-name"); console.log("sponsorName: " + sponsorName); if (sponsorName != "") { $('.ev-webform .ev-ff-textbox label[data-field-label="sponsor"]').each(function() { $(this).siblings('input').attr("value", sponsorName); }); } </script>
- When done, click on Save and Add Selected.
Configure the Sponsor profile to use Sponsor Contact Form
Return to your Sponsor Profile or Sponsor Profile list, and click to edit.
Find the checkbox Use Sponsor Contact Form, and tick then box.
Then, select the page that you configured above to complete the setup of your Sponsor Contact Form.
You can now Preview your form on your site, or use test mode to verify the form's functionality.
Tip 💡
If you wish, you can customise the text for the Contact button button for each profile (or allow the Sponsor to customise it) by adding the Sponsor Contact button text field to the Sponsor Profile Form in Website > Forms > Public Profiles.
Accessing submissions
To access the submissions to the contact form by your visitors, navigate to Website > Forms > Web. Here, you will see a list of your web forms, and the number of submissions to the form.
Click on the number under the Submissions column of your Web Form.
You will be brough to a detailed list of the submissions to this form, displaying all your form fields, including which sponsor the message is for.
You can export the submissions as an Excel file, and share them directly with the relevant Sponsor.