Support

Home Forums Event Espresso Premium Modify Custom Template to show answer to multiple questions

Modify Custom Template to show answer to multiple questions

Posted: March 6, 2016 at 11:08 pm


westgate.community

March 6, 2016 at 11:08 pm

I found this: https://eventespresso.com/wiki/ee4-shortcodes-template-variables/ and have gotten it working, but need it modified to show multiple questions. A little help would be appreciated. Thanks in advance…


Tony

  • Support Staff

March 7, 2016 at 4:14 am

Hi there,

That link takes me to multiple shortcodes so I’m not sure what you are working on, or what you have working already.

Can you provide further details please.


westgate.community

March 7, 2016 at 7:26 am

Sorry about that. It’s the modification of the Event_Attendee_List shortcode. The snipped provides the ability to add one Question’s answer. I’d like to add multiple questions’ answers….


Josh

  • Support Staff

March 7, 2016 at 8:57 am

Hi there,

It’s this one right?

https://gist.github.com/joshfeck/63fe625950c9a71e19be

In that case, where you set the variable for $prev_answer_value, you’re grabbing the answer to one question. So you can repeat with another new variable such as $prev_answer_value2 and so on.


westgate.community

March 7, 2016 at 9:42 pm

Thanks. I’m a bit of a hack… but i managed to pull it off. Thanks!

The support post ‘Modify Custom Template to show answer to multiple questions’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso