Posted: January 31, 2020 at 10:10 pm
Hello. Can you please give me some feedback on a couple of non-standard changes I made in the configuration of the Personal Information questions?
My Workaround Solution – Steps:
2) Changed “Last Name” system question text to “Parent/Guardian Name”
3) Created custom message template for every Message
4) Modified each custom message’s shortcodes where appropriate, using “[PRIMARY_REGISTRANT_FNAME]” to display the child’s name, and “[PRIMARY_REGISTRANT_LNAME]” to display the Parent/Guardian’s name.
I understand that this will not allow me to reference first and last names separately, but other than that, should I be concerned about this configuration?
I highly recommend you do not repurpose system questions for anything other than what they are expected to be used for.
This may not sound like a dramatic change but by doing the above you’ll have parents names saved in the database as the EE contacts last name and again that may not sound like much of a problem but anywhere EE then expects a single last name may now not be and fixing that when/if it needs to be, is not going to be straight forward and not something we can do for you under support.
Some users did this in EE3 and it worked for them at the time but then further down the line (especially when trying to migrate to EE4) it caused them major issues as the database was expected to hold X but returned Z,P,N and O.
EE4 has custom questions you can add to the registration form for this, so there is really no need for the above workaround.
So lets start by getting to know what data you need.
I’m assuming you need:
You want the Child’s details to show in the registration lists for each event rather than the parents, and the child should show as the attendee throughout including the CSV report?
Meaning, in short, you want the emails to go to the parent’s email but the Child listed as the attendee?
Note that EE doesn’t have a ‘feature’ to separate these out, it is possible to do but it just takes a little more admin work to set up which is why I’m confirming the above before sending you down the wrong path for this.
That sounds like what I want. I also create an image that might make it clearer.
<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
Let’s try that again… example pic
With EE, you can’t do it exactly how you have requested but something a little similar.
For each registrant to show in the registration list they need to have provided the system questions ‘First Name’, ‘Last Name’ (not actually a required question) and ‘Email Address’ (note those can not be custom questions you have created and must be the system questions).
You set questions on groups and then set the groups against the ‘Primary Registrant’ and any ‘Additional Registrants’ which means you’ll need to have something like:
Personal Info question group (you can rename it to ‘Child Info’ if needed)
Parent Information group
So then on the event, the ‘Primary Registrant’ would request the ‘Child info’ and the ‘Parent Information’ group, and additional registrants would require the ‘Child Info’ group.
Parent email in the CHild group is compulsory, you can’t remove it from the group, however, you could use some jQuery to hide it either from all but the Primary Registrant group or everywhere and use an additional email question in the Parent group and (this is important) use jQuery to copy whatever value is set there into the system question email.
Messages can then easily be set up to use the Parent First Name, Parent Last Name and Parent Email address for all messages without hacking up anything within the database. You do have to do a little work to alter how the registration form works but there isn’t anything hacky about how you do it.
I can provide more details on how you set this up, but does the above make sense so far?
Thanks Tony. Yes, it makes perfect sense. I have set up everything as you have described.
I would like to “hide the parent email from all but the Primary Registrant group“. Can you please help me with that?
We (EE Support) don’t provide support for customizations so generally, the answer to the above would be that you need to contact a developer who can create this for you.
I do have a snippet that should help here:
You can add that to a custom functions plugin on your site, we have some documentation on creating one here:
You’ll need to test this fully to confirm it works how you expect as it is not something we support.
Thanks Tony! This is just what I needed.
I really appreciate the exemplary service you offer. You seem to grok the needs and intent of those looking for EE support. As I search the forums, I always find that your thoughtful responses shed clarity on users’ questions.
Thank you for the feedback 🙂
Originally I was end-user/implementor of Event Espresso (EE3) and I think that helps. Switch roles and find the end game for that user, then switch back to get whatever we have closest to it.
Anyway… I’m glad you’re up and running, any further questions just let us know.