Support

Home Forums Event Espresso Premium Saving question responses across event registrations

Saving question responses across event registrations

Posted: June 16, 2017 at 1:05 pm

Viewing 2 reply threads


amcfamily

June 16, 2017 at 1:05 pm

Most of our users register for events regularly (typically every month or two). We always require that the members be signed in prior to registration. There are a series of questions that are asked as part of each registration that do not vary from month to month.

Users have asked if there is a way to save/prefill their responses across event registrations for questions/question groups that are repeated across events. Is there a way to do that? For example, we have a radio button selection that asks their occupation, and they’d like it to auto-fill from month to month rather than having to select it over and over again each time.

I also noticed that we ask for the city and state (as part of the built-in contact fields). These fields are populated in the user’s contact record in Event Espresso, but do not prefill into the appropriate Address Information question fields when a user registers for an event. The name and email address do properly populate. Any ideas why this information doesn’t pre-fill automatically? It’s clearly being saved as part of the user’s record.

Thanks!


Josh

  • Support Staff

June 16, 2017 at 1:48 pm

Hi there,

I can’t speak to the “whys” but I can share with you some “hows” that show how to make it so those responses get auto-populated the next time they register for an event.

For address fields:
https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

For other questions (not address fields) :
https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

You can add both of the above snippets to a functions plugin, then activate the plugin.


amcfamily

June 16, 2017 at 3:37 pm

Thanks Josh! That appears to do what we needed.

Viewing 2 reply threads

The support post ‘Saving question responses across event registrations’ 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