What is covered in this article?
- When to use this feature
- Display a Specific Event using the Event Type code
- Modifying your web form embed code
When to use this feature
This article will explain how you can set up an Event Registration page to display a single event such as an open house
This type of set up will require you to utilize a modified version of the web form embed code.
Display a Specific Event using the Event Type code
To properly modify your web form embed code, you will first need the event id for the specific event. You can find the event ID on the details screen for the specific event. Got to your event and you will see a page that looks like this:
Modifying your web form embed code
Remember that early in the implementation process for Connect, the onboarding team provided an email that contained the web form codes for your three forms. Someone at your organization (or possibly a representative from your school website provider) embedded those form codes in your school website. Ideally that same person should be involved in setting up this modified version of your event registration form code.
Find the embedded code in your website. For the Event Registration form, you should see a line of code that looks like this:
<div class="et-widget" data-widget-type="1" data-widget-id="2"></div>
To set up a page to show only a specific event, the web form embed code will not need any changes except you will need to add a section for "data-widget-event-id". In this example, the event id is 3065. In your version, you must use your event ID for the form to work.
The modified code will then look similar to this:
<div class="et-widget" data-widget-type="1" data-widget-id="2" data-widget-event-id="3065"></div>
Note:You may not enter multiple event ids. The system will only accept one ID within the quotation marks.
If you are editing an existing page. The above edit is all that is needed. If you are creating a brand new web page, make sure to embed this line as well as the entire webform code.
Comments
0 comments
Please sign in to leave a comment.