Add your event submission form to your site and approve submitted events
After you have added a submission form to your Trumba® Connect calendar publication, you can copy the code provided in the Publishing Control Panel into your web page to add the form to your site.
Once your visitors or colleagues can start submitting events, and if you have set up an approval process, you can start approving them. When you approve the events, they are placed on your live calendars.
Note Before you can add an event submission form to your publication or incorporate it into your website, you need to talk to a Trumba representative about enabling submission forms for your account. Learn more
Topic links
Add the event submission form to your website
To add a submission form to your website, all you have to do is paste JavaScript code that Trumba Connect provides into the web page where you want the form to appear.
To copy the code and paste it into your page
- In your Trumba editing environment, display the published calendar and click Publish.
- In the Publishing Control Panel, click the Event Submission tab.
- Copy the code (described below) that appears there, and paste it into your web page.
When you place the page that contains the submission form on your site, visitors or colleagues can start using it immediately.
The JavaScript code will look something like this:
<script id="trumbaSubmitEventJS" type="text/javascript" src="http://webstage.trumba.com/ea/scripts/submitevent.js"></script>
<script type="text/javascript">trumbaInsertSubmitEventForm({
code: "wzz7akh17rndp93z2z7xrhznr4",
width: 385,
height: 775,
backgroundColor: "white" });
</script>
code parameter
The code parameter, is a number-letter string that's unique to each of your calendars for which you add event submission forms. Do not alter this parameter.
width and height parameters
The width and height parameters (whose values are highlighted in the code sample above) are set to accommodate the typical size of a submission form, including error messages. You may have to alter these parameters if your form includes a number of custom information fields or if you set the submitter information to be in its own column.
backgroundColor parameter
You can replace white with a hexadecimal or CSS named-color value or the value transparent to change the background color of the form. (The background color of the fields in which event submitters enter data remains white regardless of the color of the form itself.)
Review and approve submissions
Once your visitors or colleagues start submitting events, if you set up an approval process in the Edit Submission Form page, you can start approving the events. This section describes how to monitor submitted events and move the approved events from one or more holding calendars onto your public website calendars.
To approve and publish submitted events
- Click the title of one of the Submitted subcalendars to display it.

Tip You may want to uncheck all other calendars to start with to make sure you are only viewing events from the Submitted calendar.
- In the calendar list, select the check box to the left of each additional Submitted subcalendar to mix those subcalendars into the displayed calendar. This allows you see events on all of the Submitted subcalendars at the same time.

Mixing all of the Submitted subcalendars together allows you to see all of the submitted events at one time.
Caution Do not mix a Submitted calendar into your published calendar or any of its mixed-in category calendars. These calendars are live, so if you mix a Submitted calendar into one of them, submitted events appear live on your calendars immediately.
- Click List above the displayed calendar to see all submitted events in one list.

The colors of the submitted events correspond to the colors of the Submitted subcalendars in the calendar list, making it easy for you to see what categories of events site visitors have submitted.
- Click an event to review and modify it in the Event Information form.

The submitter's name and email address appear in Submitter fields in the form but will not appear on the published calendar. You can modify the event description, location, or notes to provide more details, include a map link, or otherwise meet your website standards.
- If you decide not to publish the event on your site, click Delete This Event at the bottom of the form.
- If you approve the event, in the Owning Calendar section of the Event Information form, change the owning calendar from the Submitted subcalendar to that subcalendar's parent. You do that by selecting the parent calendar's name from the Owning Calendar list.

For example, because the submitter chose the category Classical Music in the event submission form, the Bach concert belongs to the Classical Music calendar's Submitted subcalendar (Events calendar > Classical Music > Submitted in the picture above).

To move the event from the Submitted subcalendar to the Classical Music calendar (and publish it on your website), select the Classical Music calendar in the Owning Calendar list (Event calendar > Classical Music in picture above.)
- If an event belongs in more than one category, you can publish it on more than one category calendar. To publish the event on additional category calendars, under Also Shows On, select those calendars.

In the picture above, the Bach concert will appear on the Popular Music and Classical Music calendars.
- Click OK to close the Event Information form and publish the event.
Approve or delete multiple events
If you are certain that you don't have to review each submitted event in detail, you can approve or delete multiple events at the same time.
Note When you bulk approve events, you cannot open and examine each one individually. If you receive event submissions from the general public, we recommend that you approve events one at a time.
To approve or delete multiple events
- In the List view of your calendars, select the check box to the left of the event times.
- In the action bar at the top of the calendar, from the drop-down list, do either of the following:
I got an error message that events could not be approved.