Support

Home Forums Event Espresso Premium Changing Attendee 1 title

Changing Attendee 1 title

Posted: February 5, 2016 at 7:51 am


Elaine Wildash

February 5, 2016 at 7:51 am

Hi,

Is there anyway to chnage “Attendee 1” title at the top of the reg form to say something like “Pint of Contact” and if so where would I find this?

Thanks,

Elaine


Josh

  • Support Staff

February 5, 2016 at 9:32 am

Hi Elaine,

In most cases, a change like this isn’t something you find, it’s something you can filter with a custom function like this:

function my_replace_attendee_label($content)
{
$content = str_replace( 'Attendee 1', 'Contact point/Attendee 1', $content );
return $content;
}
add_filter('the_content','my_replace_attendee_label', 11 );

You’ll note that in the above example, the string change doesn’t replace the label, it adds to it. I recommend adding in this case because the system will still count the contact point information as an attendee regardless of what the label.

What you can do in this case though, is add the question group for the Contact person to the Primary attendee form only. The result will be a shared form section for both the primary attendee and the contact point.


Elaine Wildash

February 5, 2016 at 10:33 am

Hi Josh,

Thanks for your answer.

Not sure I understand “What you can do in this case though, is add the question group for the Contact person to the Primary attendee form only. The result will be a shared form section for both the primary attendee and the contact point.”

Can you provide more details?

Or can I make the change above and just leave it as Contact point/Attendee 1 without any other change?

Thanks,

Elaine


Josh

  • Support Staff

February 5, 2016 at 10:36 am

Hi Elaine,

I really don’t have enough information to answer your last question, because I don’t know how you’re setting things up. My recommendation about capturing the contact info along with the primary attendee’s info is based on the reality that each form section in Event Espresso is for an attendee, and changing the label doesn’t remove a registration from the transaction.


Elaine Wildash

February 5, 2016 at 11:14 am

Hi Josh,

Sorry – for each event we only want one person to fill in the reg form no matter how many people will be attending. So we just want the “Point of Contact” for the booking not all the attendees info.

Elaine


Josh

  • Support Staff

February 5, 2016 at 11:50 am

Right, so the thing to do here, since Event Espresso currently doesn’t have a Point of Contact feature, is set the Point of Contact question group to only appear with the Primary Registrant’s questions. This way the first form group that’s displayed will be the only part of the form with questions for the Point of Contact.


Elaine Wildash

February 5, 2016 at 1:13 pm

Hi Josh,

Sorry. I still don’t understand.

We currently have a reg form setup and the events setup so only the one attendee enters details. All I want is to change the title of that form from “Attendee 1” to say “Point of Contact”.

If that’s not possible can you point e to EE3 docs that explain question group and registrants questions?

Thanks,

Elaine


Josh

  • Support Staff

February 5, 2016 at 1:19 pm

Ahh I see, sorry I misunderstood. Changing the label would be fine in that case.

The support post ‘Changing Attendee 1 title’ 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