Pre-fill fields

Home Forums Calendar Products Community Events Pre-fill fields

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27121

    I’d like to know is there is someway to pre-fill several different fields and options (including the description and/or title) for Community Events?

    I’m using it to do just one type of event (like a house party) that people would submit that they are doing one in a particular city/state. So it would be ideal to pre-fill in fields rather than having to provide instructions to keep it consistent.

    #27176
    Casey
    Participant

    Angel,
    You should be able to pre-fill the title & description fields using the following:

    1) Make sure you do a template override first (https://theeventscalendar.com/faq/what-are-template-overrides-and-how-do-i-do-them/)
    2) Then find your event-form.php file and then replace that file with the following code: https://gist.github.com/3952720

    I was able to successfully test this in my environment, but let me know if you have any issues. Thanks!

    #27177
    Casey
    Participant

    Angel,
    Sorry, I forgot to mention that you’ll need to change lines 29 & 32 to match the text that you want to be pre-filled in the field. 🙂

    #27619
    Casey
    Participant

    Angel,
    Was this able to solve your problem? Just let me know and I’ll close out this thread. Thanks!

    #28675
    Casey
    Participant

    Angel,
    I’m going to close out this thread since we haven’t heard from you. Feel free to start a new thread if needed. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Pre-fill fields’ is closed to new replies.