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) »
  • Collecting data on children attending a family event
Pages: [1]

Author Topic: Collecting data on children attending a family event  (Read 730 times)

jbeall

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Collecting data on children attending a family event
December 21, 2010, 07:30:07 am
Hi All,

We have a family event that we want to setup registration for.  There are different classes of registrants--some are free, some are not, but we need to collect data on all of them.  Here's are the rules:

1) All families pay a base rate of $45 if one parent is attending, or $50 if both parents are attending.  So the registrant needs to indicate their "base registration" option.
2) Children 4 and under are free, but we need to collect their names and ages.
3) Children 5-12 are $35 for one child, $60 for two children, and $75 for three or more children.
4) Children 13-19 can attend at no additional cost, but have the option to opt in to an optional "teen track" that is $20 per teen.

As you can see this is a bit complicated.  One of the things that I've run up against is that while I can setup the options for all this using "pricing sets" I'm not sure how to collect the data we need on the children.  For instance, I can setup a "children's program" set that gives the option of one child for $35, two children for $60, or three children for $75.  However, now I need a place for them to enter their children's information so we can print name badges for them and assign them into teams.  I haven't been able to figure out how to collect that additional information on the children.  Can someone give me some guidance?

  -Josh

jbeall

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: Collecting data on children attending a family event
December 21, 2010, 08:32:25 am
By the way, I see that there is a way to collect a different set of data for the first registrant than for subsequent registrants.  For instance, you might collect complete info on the first registrant, the parent(s), and then I could set subsequent registrants to use my custom profile for "child attendees."  There are several problems with this I haven't been able to resolve:

1) Different types of child attendees may require us to collect different information.  For instance, we might collect only name and age on children four and under, but for teens we might request name, age, gender, and a t-shirt size.
2) You have to select pricing information again when you go to register additional participants.  I'm having trouble figuring out how a user should enter their pricing selections if they have to enter pricing information for every user.

My problems with the pricing are a little more complicated, I'll try and explain them.  Remember that we have the potential for free attendees, e.g., children four and under .  However, you can't just send a child by himself--so the parents need to register.

If we setup a "$0 child under four" pricing option, then it will display for everybody, including the first registrant.  But we don't want to show them pricing options that are invalid--it would be invalid for you to select $0 for the first registrant, that needs to be the parent.

So... how should I do this?

  -Josh

jbeall

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: Collecting data on children attending a family event
January 17, 2011, 07:18:42 am
Anyone have some insights?  I have yet to figure out a way to do this...

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: Collecting data on children attending a family event
January 17, 2011, 04:48:35 pm

I dont think CiviEvent maps very nicely to your use case (as it is)

You'll need to do a fair amount of tweaking to the code base to accomplish what you need.

You might be able to accomplish most of this via hooks and injecting some custom form fields.

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

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: Collecting data on children attending a family event
February 25, 2011, 10:38:32 pm

check:

http://forum.civicrm.org/index.php/topic,18478.msg78094.html#msg78094

i've been experimenting a bit with this to see how much we can tweak civievent to do what we need to do

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Collecting data on children attending a family event

This forum was archived on 2017-11-26.