- This topic has 3 replies, 2 voices, and was last updated 7 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Add additional information to the [eme_attendees] shortcode
Hi,
I added a new text field to the booking registration formular.
Now I want to get the information from the new text field when I use the [eme_attendees] shortcode.
By default the [eme_attendees] only shows the last name of the person allocated to the booking of a specific event. It would be great if the extra information of the new added field also is available.
I there a way?
Look at http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_attendees/
and http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_bookings/
if it is a custom rsvp field, you can only show it for bookings (as the field is related to the booking, not the attendee). So [eme_bookings] (with custom template) is probably what you want.
Hi,
Thanks a lot! It’s working great.
However:
When I use [eme_bookings id=11 template_id=1] the #LASTNAME textfield doesn’t show the value. It only shows #_LASTNAME. The #_COMMENT field and my custom field are working.
Template:
<table class=’eme-rsvp-form’>
<tr><th scope=’row’>Nachname*:</th><td>#_LASTNAME</td></tr>
<tr><th scope=’row’>Gastschütze-1:</th><td>#_FIELD{2}</td></tr>
<tr><th scope=’row’>Kommentar:</th><td>#_COMMENT</td></tr>
</table>
#_LASTNAME doesn’t exist as a placeholder for eme_bookings. Read the doc more carefully …