Create types of accompanying person

Hi,

Would it be possible to create types of accompanying persons? I don’t think this is available by default but I am roughly thinking this could go in a plugin where I could define the types, with different fields needed, classes inheriting from the accompanying person class. Maybe this isn’t the right way to go but any advice is helpful.

Basically, we have an event coming up where registrants choose a timeslot and they can bring up to 6people. Depending on the person coming, we may want different information, eg.

Staff Member: might want their organisation ID
Adult: maybe need their nationality for site passes or a car registration
Child: event organisers might want to know their age

I know conditional fields for registration forms are on the way Implement conditional fields in registration forms by Moliholy · Pull Request #6678 · indico/indico · GitHub, so maybe that can be used in the future.

Thanks
Adam

That would add a large amount of complexity (as all “special” registration form fields have), so i don’t think it’s likely we’ll add this.

It was already a conscious decision to not even allow simple extra fields for accompanying persons, and introducing conditional fields there would make it by an order of magnitude more complex/

Yeah thats fair enough, makes sense.
I will see what I can do on our side with a plugin, or maybe just a load of registration forms as a workaround, thanks!