Posted: December 20, 2022 at 5:41 am
We’ve created a custom add-on for our attendees to complete a survey which is sent when they are checked-in. We’re trying to track when a user completes this survey and store it against the registration. We’re exploring possible options for this, either using a custom EE Model that will store the relationship or if possible (and the preferred option) to somehow add a survey completed boolean to the registration. Is it possible to add fields to the registration? |
|
I’ve considered using |
|
Hi there,
Where are you looking to add the output in the admin to confirm this has ben completed? We have filters you can use to display it on the registration list table, so Event Espresso -> Registrations (and the event-specific registrations output), would that work? |
|
Hi Tony Yes i’d like to display it on the registration list table and on the view registration page. There’s also a link to the completed survey that we’d like to display on the view registration page if possible. What filters would we need to look at? |
|
Ideally on the view registration page it would be better as a meta box. |
|
I assume that’s what you are storing as the value of the extra meta field? For the registration list table I have an example of adding a custom column here: https://gist.github.com/Pebblo/88f2a0a9213c716e4886a249e7709245
Filters the column themselves so you can add your own. —
Filters the actual column to allow you to add a value. That’s a dynamic filter using the format:
—-
—
Most of the above are dynamic filters so if you search the codebase you won’t find them as is. Does that help? With the Registration List table? —
Sure, I have an example of adding a metabox in that section here: https://gist.github.com/Pebblo/239dcbbab9514c13ba48fe3e8e9a5add Does that give you everything you need? |
|
You sir, are a legend. That should give me everything I need. Thanks Tony! |
|
Ha, thanks 🙂
Awesome and you’re most welcome. Any further issues/questions/complimentary suggestions on how legendary I may (or may not) be… just let me know. |
|
The support post ‘Extending Registration’ 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.