Posted: February 9, 2020 at 1:12 pm
|
Ok, i’m be honest. I don’t understand how to add a custom shortcode for the messagesystem. I have the problem that the person who is making the booking is not the person who is comming with us. We make a summercamp an the parents registrated her kids. So the attendee is the kid but the mail has to send to the parents. So i need a shortcode to get the mail-adress, the name and some other information from the parents. |
Hi there, From the above, it doesn’t sound like you need a custom shortcode. Are you collecting the parent’s email address on the registration form? Can you link me to the event so I can run a test registration and view the set up? You can likely use the default shortcodes built into Event Espresso for the above situation, it just depends on how you have the event set up as to which shortcode you use. |
|
|
Hi, the parents have to register on our homepage and yes in this moment we collect the E-Mail-Address. This is the link to the event page You need the Passwort PfadfinderSelm |
Ok, but that doesn’t answer my question:
If you ask for the email on EE registration form you can use the answer to that question in the Emails. So on your registration form you have the
My apologies, but I don’t understand what this means, can you add more details? |
|
|
Our question “Informationen Erziehungsberechtigte” is a group we make an yes we wont this E-Mail Adress for the messagesystem. The Group of Question that is called “personal information” that on, who is the gefault group in ee. I only can find a shortcode to use this E-Mail for the messagesystem so far, but in this form we collect the informatin of the kids, so the name of the kids will shown if we use the shortcode attendee-list. Sorry if my english is terrible. I do my best |
Ok, so this make this fairly straight forward and you don’t need a custom shortcode. That question group is assigned to the ‘Primary Registrant’, which means you can use a shortcode that pulls the answer from the Primary registrant and we have one that pulls the answer to questions.
So in your example The Primary Registrant system email address has its own specific shortcode and the above will only search for ‘custom questions’ so you’ll get the custom answer, not the ‘Personal Information’ answer.
So you also want the parent email listed in the ATTENDEE_LIST section?
No apology needed 🙂 I just don’t want to send you down the wrong path if I don’t fully understand your question. |
|
|
Hey, at first it worked. Thnaks for this. |
That’s correct, you can not remove the System email question from Personal Info. You could use jQuery to hide the additional email addresses and then copy the value set in the visible field to all of the others (you’ll need to do that as a value is required). |
|
|
Ok its sound interesting, how can i do this? |
|
Ok its sound interesting, how can i do this? |
The above isn’t something we have available within EE, you would need something custom created by a developer for your set up. I’ve previously created an example of how to do the above when using the email address within the Personal Information group (it leaves the first email field and then hides all others) which you can find here: |
|
The support post ‘Custom Shortcode’ 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.