PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

can I pull the excerpt from the site into gravity forms

  1. My question: Can I pull the excerpt from the site where I put a Gravity form?

    On the site I need to pull the excerpt into the form because the excerpt content a date from a event.
    The site have a event calender, I would like to put a form to book this event.
    Put to make it perfect I need to pull the excerpt from this event into a form field.

    I can pull the site URL and Name, that's fine, but the excerpts?

    get_the_excerpt() - but how can I use it?

    The site will be updated later today, with a new layout and Gravity forms. But the Event Calender stays like it is now: http://hardthaus.de/

    Posted 13 years ago on Saturday August 7, 2010 | Permalink
  2. The site is currently in maintenance mode; let me know when it is visible to the public or if you'd like to provide an admin login and I will take a look.

    Posted 13 years ago on Saturday August 7, 2010 | Permalink
  3. Sorry, now we are back online with altogether 8 different forms. I would like to get the date from posts like this one: http://hardthaus.de/feinschmeckertermine/emilia-romagna-menu-2/

    the date of this event is "Donnerstag 12. August 2010" (Thursday 12 of august 2010)

    how can it be send with the form if a customer book a table in the restaurant?

    Posted 13 years ago on Tuesday August 10, 2010 | Permalink
  4. Hey Lindebjerg,

    Step 1 - Create a hidden field on your reservation form. I called mine "Event Date". Also make sure you check the "Allow field to be populated dynamically field". http://grab.by/5SCX

    Step 2 - Add a custom field to your event's post. I called mine "event_date". Specify the event date in whatever format you'd like here. http://grab.by/5SDg

    Step 3 - Add this code to your functions.php file: http://pastie.org/1089287

    Hope that helps!

    Posted 13 years ago on Thursday August 12, 2010 | Permalink
  5. THANKS A LOT, perfect works like a dream:-)

    Posted 13 years ago on Saturday August 14, 2010 | Permalink

This topic has been resolved and has been closed to new replies.