Passing the event date to gravity forms

Home Forums Calendar Products Events Calendar PRO Passing the event date to gravity forms

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1436151
    joancav
    Participant

    Hey all,

    I have a GF registration form included at the bottom of every single event. The event is a seminar that will be scheduled at various days/times. I needed a way to show the date of the seminar in the form submission without having the user select the date. I created an eventdate field in my form and set it to populate dynamically. I also hid the form for everyone except the administrators.

    I used this
    field_values="eventdate='. tribe_get_start_date( null, false, 'F jS, Y' ) .' "

    I don’t think it’s relevant, but I’m also passing the date from the form to Salesforce.

    Is this the best way to accomplish this? I want to make sure this isn’t a detracted method and will be fine for the future.

    #1436508
    joancav
    Participant

    Sorry I can’t find an option to edit my original post. The paragraph below does a better job of highlighting my question.

    This seminar is one workshop that is hosted at say 5 standard locations on a variety of different dates. When the user visits the main events page, it lists the upcoming event locations/dates. The goal is to have the visitor register for a specific event date via a GF registration form, without having to manually select the actual date. Right now, when they click on a specific event date, the GF registration form is automatically displayed at the bottom of the page.

    #1437252
    Victor
    Member

    Hi Joanna!

    Thanks for reaching out to us!

    I don’t see anything wrong with using the tribe_get_start_date() function to fetch the event’s start date. I don’t really know the rest of the code you are using to achieve what you want, but as long as it’s in the correct place it should work.

    Please let me note that we are fairly limited in how much support we can give for custom development questions like.

    That said, we always like helping out and at least point users into the right direction as much possible.

    You might want to check out our Event Tickets plugin that allows you to collect RSVPs for your events and could cover your needs in this case > https://theeventscalendar.com/product/wordpress-event-tickets/

    I hope that helps. Let me know if any follow up questions.

    Best,
    Victor

    #1456365
    Support Droid
    Keymaster

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Passing the event date to gravity forms’ is closed to new replies.