Gravity Forms to Events Calendar Pro

A screenshot of the advanced post creation dashboard with elements numbered 1 through 5.

I did some work making Gravity Forms create Events Calendar events back in 2017. Things have gotten easier with the Gravity Forms Advanced Post Creation plugin. I used this on the Anti-Racism site and forgot to document it.

First set up your form so it gets you the data you need. You’ll need something like . . .

  • event title
  • start date
  • start time
  • end date
  • end time
  • description

I suggest using the date and time form fields to help people with their entries.

If the advanced post creation plugin is installed and active, you’ll have Settings > Post Creation visible associated with your form. We’ll choose to make one of those.

I’ll use this embarrassingly large screenshot to talk us through the pattern. I’ll stick with the major pieces but much of this may be self explanatory.

A screenshot of the advanced post creation dashboard with elements numbered 1 through 5.

Step 1 – set the post type

You’ll want to create an event. It’s available as a drop down option under custom post types. That’s handy.1

Step 2 – set the post status

In our case, we wanted to approve this before it went live so we chose to put the post in Pending but you have your normal WordPress post status options.

Steps 3 and 4 – set the title and description

This is just a typical Gravity Forms variable. {whatever:12}

Step 5 – set the custom fields

Now we need to plugin in the right data pattern in the right custom fields. You can see a good chunk of the available fields listed here. To see all the custom fields associated with the Events post type for sure you can do something like this.

The three I needed are . . _EventStartDate, _EventEndDate, and _EventURL. Again, I’m using typical Gravity Form merge fields to combine the date and time to create the values I need for those fields.


1 The real name for it is tribe_events which can get confusing if you’re coding this instead. You can see it in the URL when you select Events from the admin dashboard.

3 thoughts on “Gravity Forms to Events Calendar Pro

  1. Sadly, since the update to TEC 6.0.*, this is not working for me anymore. The event “posts” are still being created, and I can see them in the list of events in the admin interface (/wp-admin/edit.php?post_type=tribe_events), but they do NOT show up on the calendar unless I “edit” the event and “update.”

    I’ve tried communicating with TEC support (insamuch as I am a paid subscriber to TEC Pro), but apparently they are swamped with support tickets and are putting custom work at the bottom of the pile.

    The support guy DID tell me I was on the right track with this link: https://docs.theeventscalendar.com/apis/custom-tables/events/

    but so far have been unsuccessful in making it all work again. Got any ideas?

Comments are closed.