Support

Home Forums Event Espresso Premium How Can I Query Registrant Data

How Can I Query Registrant Data

Posted: October 17, 2017 at 4:36 pm

Viewing 1 reply thread


erichsend

October 17, 2017 at 4:36 pm

Firstly, thank you for building such a great plugin. It ALMOST accomplishes everything that my client is looking for. There is one main issue I cannot figure out.

How can I query the registration information that the attendee filled out upon registration? I would like both the personal and custom questions so that I can create a custom PDF print out for the client for each attendee.

I can do all the rest, I just can’t figure out how to query this information.


Tony

  • Support Staff

October 18, 2017 at 10:54 am

Hi there,

What data do you currently have?

Assuming you have the EE_Registration object for the registration you want to show this for you can use that to pull all of the question groups assigned to the event, then loop through each question group and output the questions/answers from within that group.

You can do that using our models, see:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System

Generally, we don’t work through code examples on the forums, I’d recommend creating an issue HERE, labelling it a question and provide an example of what you want to achieve.

Our developers may be able to provide more feedback on how to get the info you need.

Viewing 1 reply thread

The support post ‘How Can I Query Registrant Data’ 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