CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • not sure if I'm doing custom data correctly
Pages: [1]

Author Topic: not sure if I'm doing custom data correctly  (Read 657 times)

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
not sure if I'm doing custom data correctly
February 11, 2011, 12:30:58 pm
This isn't working correctly so I presume I am doing something wrong.

This is a camp type event registration and I need to collect additional (custom) data from the folks registering. It is a kid's event so I have a requirement for being able to register multiple kids in one family (eg: one parent contact, two emergency phone numbers, one bill, potentially multiple kid records)

I created a custom data set for each kid that had the fields name, gender, age, allergies, medical issues, etc.... with the option for up to 5 instances (tabs). I tried making it type Individual, and type Household, but neither will show up as an option when I go to select it for a Profile.

I then created a CIVICrm Profile, create an entry for the event, added fields for parent's name, emergency contact/phone number, etc.. and my intent was to add my custom data set for the kids but it does not show up when I select either of those types (individual or household)

Am I going about this wrong?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: not sure if I'm doing custom data correctly
February 11, 2011, 01:17:03 pm

couple of problems with the below:

1. CiviEvent currently does not handle this use case (registering multiple kid records)

2. profiles do not allow inclusion of custom fields with multiple records

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: not sure if I'm doing custom data correctly
February 12, 2011, 05:15:26 am
Quote from: jbeiter on February 11, 2011, 12:30:58 pm

This is a camp type event registration and I need to collect additional (custom) data from the folks registering. It is a kid's event so I have a requirement for being able to register multiple kids in one family (eg: one parent contact, two emergency phone numbers, one bill, potentially multiple kid records)

I created a custom data set for each kid that had the fields name, gender, age, allergies, medical issues, etc.... with the option for up to 5 instances (tabs). I tried making it type Individual, and type Household, but neither will show up as an option when I go to select it for a Profile.

Not as complete as what you'd want, but you can
1) Create a profile "parent" with the emergency phones and whatever you want to ask the parent
On the pre field, explain that they must register the parent info first
2) Create a profile kids, with custom fields allergies, medical history (note fields)
3) On the event allow multiple participants registration, first participant with profile parent, the others with profile kids

Limitations: that's one parent only that you register, and the kids have the history allergies in big blobs of text (not a big deal IMO)

You might want to code a custom module that creates automatically a household, and sets the relationships between the parent, kids and households after the registration.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
Re: not sure if I'm doing custom data correctly
February 12, 2011, 07:03:11 am
I'll try this out X, thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • not sure if I'm doing custom data correctly

This forum was archived on 2017-11-26.