1

I'm not sure that this is possible but here goes:

I have a requirement to collect data from Event Registrants of University Programs that they have undertaken and the years of study they have undertaken. This is not limited to a single entry for the program and each program entry can have 1 or more years of study.

So an Entry could look as follows:

Program of Study: Basket Weaving

Years of Study:

  • 1972
  • 1973
  • 1974

Ideally I would want to have multiple fieldsets of the Program of Study and Years so the registrant could list one or more programs they undertook and the years they undertook for it.

In that case it would look like:

Program of Study: Basket Weaving

Years of Study:

  • 1972
  • 1973
  • 1974

Program of Study: Advance Basket Weaving

Years of Study:

  • 1982
  • 1983
  • 1984

1 Answer 1

0

One approach would be to use Activities. Set up a custom Activity with the required fields for Program, Year etc

Another approach might be Multiple Record custom field

6
  • Hi Peter. I'll try that idea of a custom activity and see if it works. That would be awesome if it did. I tried with a Multiple Record custom field and although it allows me to create multiple within a contact record, I can't do it from an event signup page. Cheers, Andrew. Nov 16, 2020 at 18:17
  • how did you get on? would be good to get a +1 on here (StackExchange otherwise keeps promoting this as a Q with no accepted answers)
    – petednz - fuzion
    Aug 12, 2021 at 3:38
  • Hi Peter, I'm still looking for a usable method. Neither worked for my use case. Multiple Field Records only work when you're administering a contact's record, whereas in my use case, I wanted the event registrants to be able to add them. I ended up limiting it to 3 records and used jQuery to expose them as needed. Not ideal but it gets the job done. I'm happy for StackExchange to keep promoting it. It seems like a useful option. Aug 16, 2021 at 18:51
  • I would still most likely be tackling this via Activities (with custom fields) and webform_civicrm
    – petednz - fuzion
    Aug 16, 2021 at 19:41
  • Hi Peter. That might be the best method to deal with this. This is a D7 site and we aren't using Webform CiviCRM with it so next year I'll be doing a Drupal 9 migration. I think I will dig further into refining it then. Thanks, Andrew. Sep 14, 2021 at 22:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.