Sponsor Contact Form

If you would like website visitors to be able to send a message to Sponsors you can add a contact form. This requires the visitor to view the Sponsor Profile by clicking on the Sponsor's name in a Sponsor Profile List:

Configuration

To enable this feature you will need to create a Web Form and place it on a page. You will also need a 'thank you' page to display after the form is submitted.

The Web Form must contain a text field named Sponsor which should be set to Disabled. This field will indicate the Sponsor for whom the message is intended:

The Web Form's Submit button should be configured to redirect to your 'thank you' page and you can optionally set a notification when the form is submitted:

The page on which you place the Web Form must also include an Embedded Widget below the Form:

You can copy+paste the following code for the Embedded Widget:

	<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>

In the Sponsor Profile List tick the Use Sponsor Contact Form checkbox and select the form page you have created: The 'contact' button will appear on the individual profiles and will be labelled 'Contact'. If you wish you can customise the text for this 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

The messages sent by your visitors can be seen and downloaded by clicking the number in the Submissions column of your Web Form. You can then send them on to the relevant Sponsor