Support

Home Forums Event Espresso Premium Populate the attendees with custom first name last name data

Populate the attendees with custom first name last name data

Posted: March 22, 2021 at 10:41 pm


TTBC

March 22, 2021 at 10:41 pm

When I have 10 attendees coming to say a “GROUP/TABLED” event.

How could I extend the could have some of the registration fields populate with TBC (to be confirmed).

I want to use the email address from the person who is booking the ticket across all 10 but I want the rest of the data to have TBC populated into the registration fields. This is so we can then find the data quicker inside SUGARCRM once the data is synced so we could contact the purchaser to get details for the event.


Tony

  • Support Staff

March 25, 2021 at 7:46 am

Hi there,

May I ask, how are you syncing the data from Event Espresso into SUGARCRM?

Is the event the user is registering onto set to collect the ‘Personal Information’ question group for additional registrants?


TTBC

March 25, 2021 at 12:31 pm

Hi Tony,

We have written a custom push/pull connector for SugarCRM and which means we can push/pull data with JSON, DBS as well as methods.

I am using JSON API to consume the data and push the data back to WordPress/EE.

We are collecting the personal information so that the event tickets are associated with the logged-in user which I assume is the correct way to do this.

My use case for wanting the TBC to populate into the FIRST_NAME and LAST_NAME and maybe some other fields is for when my customer runs a TABLED style event where you buy tickets in lots of 10 and you do not know all the names of those attending. By adding in the TBC we will have a way to filter the events and automatically contact (with SugarCRM via ACTON marketing).

If you have some way I could extend the Event Espressos Rego form to Achive this it would be most helpful.

The site is https://buscircle.com/


Tony

  • Support Staff

March 26, 2021 at 6:16 am

Ok, so I assume you know how EE_Registration’s and EE_Contact’s work in relation to the checkout process?

The reason I ask is the details entered on the registration form creates the EE_Contacts linked to the registration, if you prefill the fields you mentioned above you’re going to end up forcing SPCO to create EE_Contacts using ‘TBC’, ‘TBC’, {primary-reg-mail}.

We do have filters that allow you to alter the values used in questions:

FHEE__EEM_Answer__get_attendee_question_answer_value__answer_value
(Example usage, this is the filter you’ll likely need)

and

FHEE__EE_SPCO_Reg_Step_Attendee_Information___generate_question_input__input_constructor_args
(Example usage)

However, I suspect you’ll end up in a tricky situation having to manage multiple contacts with ‘TBC’ data used for them if you do this. You may be better using your integration with SugarDRM to check if the registration has a value set on the attendee details that doesn’t match the primary reg and send ‘TBC’ JUST to Sugar. I don’t know enough about the integration to know if that will work through.

We are collecting the personal information so that the event tickets are associated with the logged-in user which I assume is the correct way to do this.

If the logged-in user uses their WP User account details for the registrations, those registrations will be linked to the user, if they use other details (such as ‘TBC’ or other attendee info) then those will not be.

The support post ‘Populate the attendees with custom first name last name 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