Home › Forums › Calendar Products › Events Calendar PRO › Passing data to Gravity Forms
- This topic has 3 replies, 3 voices, and was last updated 7 years, 10 months ago by
sofied1.
-
AuthorPosts
-
May 29, 2018 at 5:45 am #1540692
sofied1
ParticipantI am currently building an intranet. We have GF and Events Calendar Pro. I want people to be able to pick from a limited list of classes (10) to sign up for, which should come from the calendar where they are listed, along with their corresponding dates. What do I need to enter (shortcode etc.) in order to accomplish this? Thanks.
PS. The site is private, I cannot share access.
May 29, 2018 at 12:18 pm #1541155Courtney
MemberHi Sofie
You can certainly customize that on your end.
You can start with https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/. This will help you match up the values The Events Calendar will work with to the fields in Gravity Forms.
https://wpforms.com/create-a-user-submitted-events-calendar-in-wordpress/ is a tutorial for a similar product and might be a good reference as you build.
Let me know how this goes!
Thanks
Courtney šMay 31, 2018 at 8:41 am #1542872sofied1
ParticipantCourtney:
Thank you for the links. Neither of them contain the information that I am looking for, unfortunately. I need to pull the event name by category into a Gravity form, and I need to know if that can be done, and if so, how. Basically, if somebody wants to request an event through this form, rather than browsing the calendar itself, I want the form to have a prepopulated dropdown with available events by category to choose from.
Can you enlighten me, please?
Thanks,
Sofie Dittmann
Productivity Consultant
V I T Ī L Y S T
LEARN MASTER TRANSFORM
http://www.vitalyst.comhttp://www.vitalyst.com[Vitalyst LinkedIn]https://www.linkedin.com/company-beta/49807/?pathWildcard=49807 [Vitalyst Twitter] https://twitter.com/Vitalyst [Vitalyst Facebook] https://www.facebook.com/VitalystLLC
This e-mail is intended for the above addressee(s) only and may contain privileged, confidential, or proprietary information.
If you have received this email in error, please immediately notify the sender by return email and delete this email from your system.May 31, 2018 at 2:18 pm #1543367Cliff
MemberHi, Sofie. I’m chiming in here to help on this advanced topic.
Please note that providing code customizations isn’t part of our normalĀ Scope of Support / Terms, but I’ll try to point you in the right direction.
Firstly, it sounds like you’ll need to referenceĀ https://docs.gravityforms.com/dynamically-populating-drop-down-fields/Ā for theĀ dependent option (the list of Events based on the selected Event Category)
To get the list of events per Event Category, you’ll want to reference:
- https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
- andĀ https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
This code sample might be just what you need to get started:
https://gist.github.com/cliffordp/62360de9f1cb2b7b55b9bed080c173a6
Please let me know if you have any follow-up questions on this topic.
June 22, 2018 at 9:35 am #1559343Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Passing data to Gravity Forms’ is closed to new replies.
