Title: RSVP form template processing differently
Last modified: November 18, 2021

---

# RSVP form template processing differently

 *  Resolved [signale](https://wordpress.org/support/users/signale/)
 * (@signale)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/)
 * Hello and a very good day!
    Could you please tell how does the RSVP form template
   is processed? It doesn’t follow the common template path. Could you please tell
   which filter could be applied so shortcodes work there too? I set a shortcode
   there just like in the single event field and it doesn’t work as expected, it
   works like previously the single event template without the filter did. May be
   it’s due to the nested placeholders? So RSVP form placeholder displays other 
   placeholders, so it acts like a shortcode itself Is there a way to render a shortcode
   in this form template field? It would simplify the form styling a lot. Also, 
   while we’re on this topic, is there a way to set the input field class somehow?
   Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/#post-15080313)
 * The RSVP form does support shortcodes. Do you have an example of something that
   doesn’t work?
 *  Thread Starter [signale](https://wordpress.org/support/users/signale/)
 * (@signale)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/#post-15080897)
 * Well, I’m not putting the shortcode inside the form template, I’m doing quite
   the opposite – I’m putting the form template into the shortcode which I wish 
   to render lately just as I’m doing with the single event template here:
    [https://wordpress.org/support/topic/shortcode-and-placeholder-render-order/](https://wordpress.org/support/topic/shortcode-and-placeholder-render-order/)
 * In the form default template I got a shortcode. But it doesn’t render correctly,
   it doesn’t see placeholders and outputs them as is
 * So I need to put the same `do_shortcode()` function before rendering the placeholders.
   It seems like the ordinary filter `eme_events_format_prefilter` doesn’t have 
   effect here
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/#post-15080967)
 * The preflter acts on the event format before any placeholders are replaced. And
   since the form is shown by a placeholder, it is not “present” at that time yet.
   
   But at the end of the function where event placeholders are replaced by their
   values, I also call do_shortcode on the rest so any leftover shortcodes get replaced.
   You’d need eme_add_booking_form_prefilter, I’ll add that in the next version.
 *  Thread Starter [signale](https://wordpress.org/support/users/signale/)
 * (@signale)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/#post-15081077)
 * Oh, awesome, and it would be so useful to have filters for all other templates
   too.
    Thanks for such responsive support.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘RSVP form template processing differently’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [signale](https://wordpress.org/support/users/signale/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/rsvp-form-template-processing-differently/#post-15081077)
 * Status: resolved