Details
Description
Allow a choice for the profiles to use when registering additional participants. The choices should be:
1. No profile for additional participants.
2. The same profiles as for the main participant.
3. A specific profile for additional participants (which might be one of the two profiles chosen for the main participant).
The main functionality was implemented in r21847 - additional participants can inherit one or both profiles from the main contact, have one or both different and/or have one or both turned off.
This was done by (ab)using the civicrm_ufjoin table and introducing a module of CiviEvent_Additional, which holds the profiles for additional participants. If the profiles are missing, CiviEvent uses main contact's profiles (for backward compatibility). If either of these profiles is not active, that profile is turned off.
Reassigning to Kurund as per chat with Lobo to fix show/hide, which I tried to implement in r21848 and failed (and which is to be ported to jQuery anyway).