Posted: April 4, 2020 at 10:44 am
I have an event where a minimum of 2 tickets must be purchased for each registration.
There is one field for the primary to enter a “group name” that is applicable to each additional attendee in the group. Submitting the registration only ties the “group name” to the primary attendee though, and not all the additional attendees. I require the same “group name” to apply for each additional attendee.
Thanks in advance.
sorry ignore this topic, i can work with this
Although you’ve mentioned you can use the above, I have a couple of snippets that may help here.
First, this one: https://gist.github.com/Pebblo/f27056f2bcf220f5d391
That currently targets the ’email’ fields and leaves only the first for the primary registrant, then copies the value entered into all others (essentially the same as what you are asking for only a different field).
Which uses the ‘Primary Registrant’ answer for any questions that don’t have an answer on the additional registrants when you export the CSV. This is a little different in that it doesn’t ‘set’ a value on the question, it’s simply using the value from the primary for all and only does so on the CSV so may not work for you depending on your use case.
Just thought I’d add those incase they are of use for you.